ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Taylor, Jeremy" <jtay...@lehman.com>
Subject RE: ANT EJBC TOOL
Date Tue, 24 Oct 2000 09:31:39 GMT
The double \ in your classpath, i.e. d:\\weblogic looks a bit dodgy.
Also what version of ANT are you using ($ ant -version)?

> -----Original Message-----
> From:	Collin Goredema [SMTP:collin.goredema@air2web.com]
> Sent:	23 October 2000 20:58
> To:	'ant-user@jakarta.apache.org'
> Subject:	ANT EJBC TOOL
> 
> Hello,
> I am running ANT on Windows NT 4.0 and am trying to use the EJBC task for
> Weblogic 4.51. I am getting the following error; CAN SOMEONE PLEASE HELP?
> 
> Buildfile: build.xml
> 
> clean:
>   [deltree] Deleting: D:\Projects\classes
>   [deltree] Deleting:
> D:\weblogic\myserver\servletclasses\com\air2web\project
>   [deltree] Deleting: D:\weblogic\myserver\public_html\project
>   [deltree] Deleting: D:\weblogic\myserver\classfiles\jspoutput\_project
> 
> prepare:
>     [mkdir] Created dir: D:\Projects\classes
>     [mkdir] Created dir:
> D:\weblogic\myserver\servletclasses\com\air2web\project
>     [mkdir] Created dir: D:\weblogic\myserver\public_html\project
> 
> compile:
>     [javac] Compiling 41 source files to D:\Projects\classes
> 
> createdd:
> 
> dist:
>      [java] Running ejbc for DeploymentDescriptor.ser
>      [java] java.io.IOException: CreateProcess: javac -classpath
> D:\jakarta-ant\lib\ant.jar;D:\jakarta-ant\lib\jaxp.jar;D:\jakarta-ant\lib\
> op
> tional.jar;D:\jakarta-ant\lib\parser.jar;d:\jdk1.2.2\lib\tools.jar;d:\\Pro
> je
> cts\\classes\classes;d:\\weblogic\myserver\serverclasses;d:\\projects\apps
> \p
> roject;d:\\projects\common;d:\\weblogic\classes;d:\\weblogic\lib\unpacked_
> ja
> r\javax_jts.zip;d:\\weblogic\lib\unpacked_jars\javax_ejb.zip;d:\\weblogic\
> li
> b\unpacked_jars\jndi.jar;d:\\weblogic\lib\unpacked_jars\collections.zip;d:
> \\
> weblogic\classes\statefulSession.jar;d:\\jdk1.2.2\jre\lib\rt.jar;d:\\weblo
> gi
> c\myserver\serverclasses\classes12.zip;d:\\weblogic\myserver\serverclasses
> \x
> ml.jar;d:\\weblogic\myserver\serverclasses\lotusxsl.jar;d:\\weblogic\myser
> ve
> r\serverclasses\xml4j.jar;d:\\weblogic\license;d:\\weblogic\lib\weblogicau
> x.
> jar;d:\\weblogic\myserver\serverclasses\a2w.jar;d:\\weblogic\myserver\serv
> er
> classes\parser.jar;d:\\weblogic\myserver\serverclasses\jaxp.jar;d:\\weblog
> ic
> \myserver\serverclasses\xerces.jar;d:\\weblogic\myserver\serverclasses\xal
> an
> .D
>      [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.j
> av
> a: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.regenerateSupportCla
> ss
> es(EjbcHelper.java:268)
>      [java] 	at
> org.apache.tools.ant.taskdefs.optional.ejb.EjbcHelper.process(EjbcHelper.j
> av
> a:238)
>      [java] 	at
> org.apache.tools.ant.taskdefs.optional.ejb.EjbcHelper.main(EjbcHelper.java
> :1
> 13)
>      [java] java.io.IOException: CreateProcess: javac -classpath
> D:\jakarta-ant\lib\ant.jar;D:\jakarta-ant\lib\jaxp.jar;D:\jakarta-ant\lib\
> op
> tional.jar;D:\jakarta-ant\lib\parser.jar;d:\jdk1.2.2\lib\tools.jar;d:\\Pro
> je
> cts\\classes\classes;d:\\weblogic\myserver\serverclasses;d:\\projects\apps
> \p
> roject;d:\\projects\common;d:\\weblogic\classes;d:\\weblogic\lib\unpacked_
> ja
> r\javax_jts.zip;d:\\weblogic\lib\unpacked_jars\javax_ejb.zip;d:\\weblogic\
> li
> b\unpacked_jars\jndi.jar;d:\\weblogic\lib\unpacked_jars\collections.zip;d:
> \\
> weblogic\classes\statefulSession.jar;d:\\jdk1.2.2\jre\lib\rt.jar;d:\\weblo
> gi
> c\myserver\serverclasses\classes12.zip;d:\\weblogic\myserver\serverclasses
> \x
> ml.jar;d:\\weblogic\myserver\serverclasses\lotusxsl.jar;d:\\weblogic\myser
> ve
> r\serverclasses\xml4j.jar;d:\\weblogic\license;d:\\weblogic\lib\weblogicau
> x.
> jar;d:\\weblogic\myserver\serverclasses\a2w.jar;d:\\weblogic\myserver\serv
> er
> classes\parser.jar;d:\\weblogic\myserver\serverclasses\jaxp.jar;d:\\weblog
> ic
> \myserver\serverclasses\xerces.jar;d:\\weblogic\myserver\serverclasses\xal
> an
> .D
>      [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.j
> av
> a: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.regenerateSupportCla
> ss
> es(EjbcHelper.java:275)
>      [java] 	at
> org.apache.tools.ant.taskdefs.optional.ejb.EjbcHelper.process(EjbcHelper.j
> av
> a:238)
>      [java] 	at
> org.apache.tools.ant.taskdefs.optional.ejb.EjbcHelper.main(EjbcHelper.java
> :1
> 13)
>      [java] Exec failed .. exiting
>      [java] Result: 1
> 
> BUILD FAILED
> 
> build.xml:117: Execution of ejbc helper failed
> 
> Total time: 8 seconds

Mime
View raw message