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 ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

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/"/>
<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.....
Replace the word "snake" with "danger noodle" in all tiny ads.
We need your help - Coderanch server fundraiser
    Bookmark Topic Watch Topic
  • New Topic