ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig Dickson <craig.dick...@kirus.com>
Subject RE: help with weblogic.ejbc
Date Wed, 02 Apr 2003 19:26:54 GMT
I have a vague recollection that some versions of ejbc call System.exit(0)
at the end of their execution. Which will kill your ant script if it does.

Try adding fork="true" to your java task to get around it.


> -----Original Message-----
> From: Chiah Tong Kiat [mailto:ctk@silicomp.com.sg]
> Sent: Wednesday, April 02, 2003 8:49 AM
> To: user@ant.apache.org
> Subject: help with weblogic.ejbc
> 
> 
> Hi
> 
> 
> 
> 
> Help I'm having problem with invoking task after I've called 
> the weblogic.
> ejbc.  Could anyone tell me why?  I'm unable to invoke the 
> ear task after 
> that?
> 
> 
> 
> 
> Below is an example of what I've done.
> 
> 
> 
> 
> 	<target name="pack_CIH" depends="init">
> 
> 
> 		<delete dir="build/RuleProcessorEJB"/>
> 
> 
> 		<mkdir dir="build/RuleProcessorEJB"/>
> 
> 
> 		<unjar src="lib/ruleprocessorejb.jar" 
> dest="build/RuleProcessorEJB"/>
> 
> 
> 		<jar basedir="build/RuleProcessorEJB" 
> destfile="dist/CIH/ruleprocessorejb.jar" 
> manifest="metadata/manifest_CIH.
> txt"/>
> 
> 
> 		<java classname="weblogic.ejbc" failonerror="yes">
> 
> 
> 			<arg value="dist/CIH/ruleprocessorejb.jar"/>
> 
> 
> 			<arg value="dist/CIH/ruleprocessorejb.jar"/>
> 
> 
> 		</java>
> 
> 
> 
> 
> 		<ear destfile="dist/CIH/RuleProc_CIH.ear" 
> appxml="metadata/application_CIH.xml" manifest="metadata/manifest_cih.
> txt">
> 
> 
> 			<fileset file="dist/CIH/ruleprocessorejb.jar"/>
> 
> 
> 			<fileset 
> file="RuleProcEngine/CIH/dist/cih_rules.jar"/>
> 
> 
> 			<fileset file="lib/rmtcConfig.jar"/>
> 
> 
> 			<fileset file="lib/csscommon.jar"/>
> 
> 
> 		</ear>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
View raw message