ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ravi Dodla <Ravi.Do...@valtech.com>
Subject RE: weblogic.ejbc error - Urgent
Date Tue, 25 Sep 2001 14:35:38 GMT

Hi,
this is the entire output from ant.  Also the build file is attached.

*************************
C:\valtech\new structure2\bin>set ant_home=c:\jakarta-ant-1.4
"localcp =
c:\bea\jdk131\lib\tools.jar;c:\jakarta-ant-1.4\lib\xalan.jar;c:\jakar
ta-ant-1.4\lib\optional.jar;c:\jakarta-ant-1.4\lib\junit.jar;c:\jakarta-ant-
1.4\
lib\ant.jar;c:\jakarta-ant-1.4\lib\jaxp.jar;c:\jakarta-ant-1.4\lib\crimson.j
ar;;
c:\jakarta-ant-1.4\lib;C:\bea\wlserver6.1\lib\weblogic.jar"
Buildfile: antBuild.xml

init:

prepare:
   [delete] Deleting directory C:\valtech\new structure2\build
    [mkdir] Created dir: C:\valtech\new structure2\build

compile.trs:
    [javac] Compiling 201 source files to C:\valtech\new structure2\build
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.

jar.trs:
    [mkdir] Created dir: C:\valtech\new structure2\build\META-INF
     [copy] Copying 16 files to C:\valtech\new structure2\build\META-INF
   [delete] Deleting directory C:\valtech\new structure2\tmp
    [mkdir] Created dir: C:\valtech\new structure2\tmp
      [jar] Building jar: C:\valtech\new structure2\tmp\cqg-tmp-ejb.jar
     [echo]
CP=.;c:/bea/jdk131/lib/tools.jar;c:/bea/jdk131/jre/lib/rt.jar;lib/ju
nit.jar;lib/log4j.jar;lib/log4j-core.jar;lib/fixengine.jar;lib/fix.jar;c:/be
a/wl
server6.1/lib/weblogic.jar;c:/bea/wlserver6.1/lib/weblogic_sp.jar;c:/bea/wls
erve
r6.1/lib/xmlx.jar
     [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

BUILD SUCCESSFUL

Total time: 46 seconds

****************

This error is frustrating me.... Any help, suggestions will be great.

Ravi

-----Original Message-----
From: Kapil_Pawar@i2.com
To: ant-user@jakarta.apache.org
Sent: 9/25/2001 12:07 AM
Subject: Re: weblogic.ejbc error


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: kapil_pawar@i2.com
Tel: +91 80 558 1487-90 ext. 2416 



	Ravi Dodla <Ravi.Dodla@valtech.com> 


09/25/01 10:15 AM 
Please respond to ant-user 
        
        To:        "'ant-user@jakarta.apache.org'"
<ant-user@jakarta.apache.org> 
        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






Mime
View raw message