ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ravi Dodla <Ravi.Do...@valtech.com>
Subject weblogic.ejbc error
Date Tue, 25 Sep 2001 04:45:23 GMT
Hi ,
I am getting an error when running weblogic.ejbc
I get the error as below. The directory exists but it fails.
Can you tell me how u were able to solve the problem


******************
ejb-jar.trs:
     [java] error: cannot read: C:\valtech\new
structure2\ejbcgen\com\cqg\trs\ve
ndors\session\*.java
     [java] 1 error
     [java] Exec failed .. exiting
     [java] Java Result: 1



The script is like this:

***************
<target name="jar.trs" depends="init, prepare, compile.trs">
        
        <!-- copy all xml files to staging directory -->
        <mkdir dir="${build.dir}/${meta-inf.dir}"/>
        <copy todir="${build.dir}/${meta-inf.dir}">
            <fileset dir="${ejb-meta-inf.dir}" />
        </copy>
        <delete dir="${tmp.dir}"/>
        <mkdir dir="${tmp.dir}"/>
        <jar jarfile="${tmp.dir}/${trs-tmp.jar.name}" 
            basedir="${build.dir}" />
                
        <!-- Call weblogic ejbc complier -->
	  <echo message="CP=${classpath}"/>
       
        <java classname="weblogic.ejbc" 
              fork="no"  
              classpath="${classpath}">
            <arg value="${tmp.dir}/${trs-tmp.jar.name}"/>
            <arg value="${deploy.dir}/${trs.jar.name}"/>
        </java>
    </target>


I need to ejbc compile a bunch of EJB's at a time and want to use
weblogic.ejbc.

Thanks
Ravi

Mime
View raw message