ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Collin Gordema" <collin.gored...@air2web.com>
Subject ANT 1.2 ejbc
Date Fri, 27 Oct 2000 00:56:01 GMT
Can someone please help? I am trying to run the ejbc utility from Ant =
and I get the following error. I am running this on a Windows NT 4.0 =
machine, with Java JDK 1.2.2, and using Ant version 1.2. How can I =
prevent this error?

Searching for build.xml ...
Buildfile: D:\Projects\apps\project\build.xml

clean:
   [delete] Deleting 5 files from D:\Projects\apps\project\descriptors
   [delete] Deleting 51 files from D:\Projects\classes
   [delete] Could not find file =
D:\weblogic\myserver\serverclasses\a2w_project.jar to delete.

prepare:
     [copy] Copying 1 files to D:\Projects\classes

compile:
    [javac] Compiling 46 source files to D:\Projects\classes
    [javac] Modern compiler is not available - using classic compiler

createdd:
     [java] The args attribute is deprecated. Please use nested arg =
elements.
     [java] Creating deployment descriptor file =
descriptors/ProjectDeploymentDescriptor.ser for bean class =
com.air2web.project.services.ProjectServiceBean
     [java] Creating deployment descriptor file =
descriptors/ProjectTwoDeploymentDescriptor.ser for bean class =
com.air2web.project.entities.ProjectBean
     [java] Creating deployment descriptor file =
descriptors/ProjectDeviceDeploymentDescriptor.ser for bean class =
com.air2web.project.entities.ProjectDeviceBean
     [java] Creating deployment descriptor file =
descriptors/ProjectPushDeploymentDescriptor.ser for bean class =
com.air2web.project.entities.ProjectPushBean
     [java] Creating deployment descriptor file =
descriptors/ProjectServiceDeploymentDescriptor.ser for bean class =
com.air2web.project.security.ProjectServiceBean

dist:
     [java] The args attribute is deprecated. Please use nested arg =
elements.
     [java] Running ejbc for ProjectDeploymentDescriptor.ser
     [java] java.io.IOException: CreateProcess: javac -classpath =
D:\jakarta-ant\lib\ant.jar;D:\jakarta-ant\lib\jaxp.jar;D:\jakarta-ant\lib=
\optional.jar;D:\jakarta-ant\lib\parser.jar;D:\jdk1.2.2\lib\tools.jar;D:\=
Projects\classes;D:\weblogic\myserver\serverclasses;D:\projects\apps\proj=
ect;D:\projects\common;D:\weblogic\classes;D:\weblogic\lib\unpacked_jar\j=
avax_jts.zip;D:\weblogic\lib\unpacked_jars\javax_ejb.zip;D:\weblogic\lib\=
unpacked_jars\jndi.jar;D:\weblogic\lib\unpacked_jars\collections.zip;D:\w=
eblogic\classes\statefulSession.jar;D:\jdk1.2.2\jre\lib\rt.jar;D:\weblogi=
c\myserver\serverclasses\classes12.zip;D:\weblogic\myserver\serverclasses=
\xml.jar;D:\weblogic\myserver\serverclasses\lotusxsl.jar;D:\weblogic\myse=
rver\serverclasses\xml4j.jar;D:\weblogic\license;D:\weblogic\lib\weblogic=
aux.jar;D:\weblogic\myserver\serverclasses\a2w.jar;D:\weblogic\myserver\s=
erverclasses\parser.jar;D:\weblogic\myserver\serverclasses\jaxp.jar;D:\we=
blogic\myserver\serverclasses\xerces.jar;D:\weblogic\myserver\serverclass=
es\xalan.jar;D:\jdk1.2.2\jre -d d:\ProjeD
     [java]  at java.lang.Win32Process.create(Native Method)
     [java]  at java.lang.Win32Process.<init>(Unknown Source)
     [java]  at java.lang.Runtime.execInternal(Native Method)
     [java]  at java.lang.Runtime.exec(Unknown Source)
     [java]  at java.lang.Runtime.exec(Unknown Source)
     [java]  at java.lang.Runtime.exec(Unknown Source)
     [java]  at weblogic.utils.Executable.exec(Executable.java:120)
     [java]  at weblogic.utils.Executable.exec(Executable.java:88)
     [java]  at =
weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.=
java:261)
     [java]  at =
weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:189)=

     [java]  at weblogic.ejbc.runBody(ejbc.java:96)
     [java]  at weblogic.utils.compiler.Tool.run(Tool.java:55)
     [java]  at weblogic.ejbc.main(ejbc.java:623)
     [java]  at =
org.apache.tools.ant.taskdefs.optional.ejb.EjbcHelper.regenerateSupportCl=
asses(EjbcHelper.java:268)
     [java]  at =
org.apache.tools.ant.taskdefs.optional.ejb.EjbcHelper.process(EjbcHelper.=
java:238)
     [java]  at =
org.apache.tools.ant.taskdefs.optional.ejb.EjbcHelper.main(EjbcHelper.jav=
a:113)
     [java] java.io.IOException: CreateProcess: javac -classpath =
D:\jakarta-ant\lib\ant.jar;D:\jakarta-ant\lib\jaxp.jar;D:\jakarta-ant\lib=
\optional.jar;D:\jakarta-ant\lib\parser.jar;D:\jdk1.2.2\lib\tools.jar;D:\=
Projects\classes;D:\weblogic\myserver\serverclasses;D:\projects\apps\proj=
ect;D:\projects\common;D:\weblogic\classes;D:\weblogic\lib\unpacked_jar\j=
avax_jts.zip;D:\weblogic\lib\unpacked_jars\javax_ejb.zip;D:\weblogic\lib\=
unpacked_jars\jndi.jar;D:\weblogic\lib\unpacked_jars\collections.zip;D:\w=
eblogic\classes\statefulSession.jar;D:\jdk1.2.2\jre\lib\rt.jar;D:\weblogi=
c\myserver\serverclasses\classes12.zip;D:\weblogic\myserver\serverclasses=
\xml.jar;D:\weblogic\myserver\serverclasses\lotusxsl.jar;D:\weblogic\myse=
rver\serverclasses\xml4j.jar;D:\weblogic\license;D:\weblogic\lib\weblogic=
aux.jar;D:\weblogic\myserver\serverclasses\a2w.jar;D:\weblogic\myserver\s=
erverclasses\parser.jar;D:\weblogic\myserver\serverclasses\jaxp.jar;D:\we=
blogic\myserver\serverclasses\xerces.jar;D:\weblogic\myserver\serverclass=
es\xalan.jar;D:\jdk1.2.2\jre -d d:\ProjeD
     [java]  at java.lang.Win32Process.create(Native Method)
     [java]  at java.lang.Win32Process.<init>(Unknown Source)
     [java]  at java.lang.Runtime.execInternal(Native Method)
     [java]  at java.lang.Runtime.exec(Unknown Source)
     [java]  at java.lang.Runtime.exec(Unknown Source)
     [java]  at java.lang.Runtime.exec(Unknown Source)
     [java]  at weblogic.utils.Executable.exec(Executable.java:120)
     [java]  at weblogic.utils.Executable.exec(Executable.java:88)
     [java]  at =
weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.=
java:261)
     [java]  at =
weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:189)=

     [java]  at weblogic.ejbc.runBody(ejbc.java:96)
     [java]  at weblogic.utils.compiler.Tool.run(Tool.java:55)
     [java]  at weblogic.ejbc.main(ejbc.java:623)
     [java]  at =
org.apache.tools.ant.taskdefs.optional.ejb.EjbcHelper.regenerateSupportCl=
asses(EjbcHelper.java:275)
     [java]  at =
org.apache.tools.ant.taskdefs.optional.ejb.EjbcHelper.process(EjbcHelper.=
java:238)
     [java]  at =
org.apache.tools.ant.taskdefs.optional.ejb.EjbcHelper.main(EjbcHelper.jav=
a:113)
     [java] Exec failed .. exiting

Total time: 22 seconds

Mime
View raw message