Hi all,
I am a new to
ANT. I am trying to generate the deployment code for EJBs running on WebSphere. Following the code example from the ANT manual, I have written the following:
<property name="websphere.home" value="E:/Program Files/IBM/WebSphere Studio/runtimes/aes_v4"/>
<target name="test" depends="jarUtility">
<ejbjar srcdir="${TestEJB}" basejarname="TESTEJB" descriptordir="${TestEJB}/source/META-INF">
<include name="*-ejb-jar.xml"/>
<websphere ejbdeploy="true" oldCMP="false" destdir="${DEST_DIR}/jar/">
<wasclasspath>
<pathelement location="${WAS_DEPLOY_TOOL}/itp/plugins/org.eclipse.core.boot/boot.jar"/>
<pathelement location="${WAS_DEPLOY_TOOL}/itp/plugins/com.ibm.etools.ejbdeploy/runtime/batch.jar"/>
<pathelement location="${WAS_LIB}/xerces.jar"/>
<pathelement location="${WAS_LIB}/lib/ivjejb35.jar"/>
<pathelement location="${WAS_LIB}/lib/j2ee.jar"/>
<pathelement location="${WAS_LIB}/lib/vaprt.jar"/>
</wasclasspath>
<classpath>
<pathelement path="${DEST_DIR}/jar/Utility.jar"/>
<pathelement path="${WAS_LIB}/j2ee.jar"/>
</classpath>
</websphere>
</ejbjar>
<echo message="Building
EJB Jar file ...... SUCCESS"/>
</target>
I do not get any errors in the log, but no jar is generated either. Does anyone have any idea what I am doing wrong? Any help would be greatly appreciated.....
thanks,
Travis