Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

EJB deploy with WebSphere

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Replace the word "snake" with "danger noodle" in all tiny ads.
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic