• 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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Himai Minh

EJB deploy with WebSphere

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/">
<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"/>
<pathelement path="${DEST_DIR}/jar/Utility.jar"/>
<pathelement path="${WAS_LIB}/j2ee.jar"/>
<echo message="Building EJB Jar file ...... SUCCESS"/>

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.....
Creativity is allowing yourself to make mistakes; art is knowing which ones to keep. Keep this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
    Bookmark Topic Watch Topic
  • New Topic