You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Chiah Tong Kiat <ct...@silicomp.com.sg> on 2003/04/02 18:49:23 UTC

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>