You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Guruprasad R <gu...@gmail.com> on 2006/03/02 07:10:17 UTC
Java task
Hi all, i have written a target that uses java task as below.
<target name="exectask" depends="makejar">
<echo> Test Started </echo>
<java classpathref="class.path" classname="weblogic.ejbc">
<arg value="${src}/npacejb.jar"/>
</java>
</target>
when this target is executed from the command prompt, i dont find any
issues. whereas when i execute the same target in the weblogic, i get
- exectask:
- WARNING: Test Started
- ERROR: *java.lang.IllegalStateException: Called System.exit(1) *
- ejbc successful.
- Called System.exit(0)
- BUILD SUCCESSFUL
Please help debugging the above script.