Hi Ravi,

The partial output of the build and the partial build file do not seem to match. Can you cross check and send the relevant output of the build?

Clearly if mkdir is the first task in the target the build output will contain [mkdir] blah blah...

Regards
_____________________________________
Kapil Singh Pawar
Consultant - Integration
i2 Technologies India Private Ltd.
1 Primrose Road
Bangalore 560 025, INDIA
Email: [EMAIL PROTECTED]
Tel: +91 80 558 1487-90 ext. 2416



Ravi Dodla <[EMAIL PROTECTED]>

09/25/01 10:15 AM
Please respond to ant-user

       
        To:        "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
        cc:        
        Subject:        weblogic.ejbc error




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



Reply via email to