You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2002/08/13 20:31:39 UTC
DO NOT REPLY [Bug 11671] New: -
weblogic.ejbc
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11671>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11671
weblogic.ejbc
Summary: weblogic.ejbc
Product: Ant
Version: 1.5
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Build Process
AssignedTo: ant-dev@jakarta.apache.org
ReportedBy: JLacerte69@Hotmail.com
When I try to generate the EJB stub with the command
<target name="ejbc" depends="jar_ejb">
<java classname="weblogic.ejbc" fork="yes" failonerror="yes">
<sysproperty key="weblogic.home" value="${WL_HOME}/server"/>
<arg line="-verbose -compiler javac ${dir.dist}/LoginEJB.jar"/>
<classpath>
<pathelement path="${WebLogic70}"/>
</classpath>
</java>
</target>
I got the next error:
Ant started in directory F:\Exemples\WebApp
Current target 'all'
Buildfile: F:\Exemples\WebApp\build.xml
init:
compile_ejb:
[javac] Compiling 3 source files to F:\Exemples\WebApp\temp
jar_ejb:
[jar] Building jar: F:\Exemples\WebApp\distribution\LoginEJB.jar
ejbc:
[java] [EJBCompiler] : Recompiling because no previous hashes found
[java] [EJBCompiler] : Compliance Checker said bean was compliant
[java] java.io.IOException: CreateProcess: javac -nowarn -verbose -
classpath F:\Exemples\WebApp\ejbcgen;F:\jdk1.3.1_04
\jre\lib\rt.jar;F:\jdk1.3.1_04\jre\lib\i18n.jar;F:\jdk1.3.1_04
\jre\lib\sunrsasign.jar;F:\jdk1.3.1_04\jre\classes;F:\bea.700\weblogic700
\server\lib\weblogic.jar -d ejbcgen ejbcgen\com\ejb\jl\login\*.java error=2
[java] at java.lang.Win32Process.create(Native Method)
[java] at java.lang.Win32Process.<init>(Win32Process.java:61)
[java] at java.lang.Runtime.execInternal(Native Method)
[java] at java.lang.Runtime.exec(Runtime.java:546)
[java] at java.lang.Runtime.exec(Runtime.java:472)
[java] at java.lang.Runtime.exec(Runtime.java:438)
[java] at weblogic.utils.Executable.exec(Executable.java:208)
[java] at weblogic.utils.Executable.exec(Executable.java:133)
[java] at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit
(CompilerInvoker.java:545)
[java] at weblogic.utils.compiler.CompilerInvoker.compile
(CompilerInvoker.java:372)
[java] at weblogic.utils.compiler.CompilerInvoker.compile
(CompilerInvoker.java:363)
[java] at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:294)
[java] at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:396)
[java] at weblogic.ejbc20.runBody(ejbc20.java:464)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:126)
[java] at weblogic.ejbc.main(ejbc.java:21)
[java] Exec failed .. exiting
BUILD FAILED
file:F:/Exemples/WebApp/build.xml:77: Java returned: 1
AntRunner completed run
but when I try the same build.xml with the version 1.4.1 It work well.
J.Lacerte
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>