Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What ejbjar task does ?

 
Suren Raj
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
What the following piece of code is expected to do ?
<ejbjar srcdir="${build.class}" descriptordir="${build.class}/Meta-inf" destdir="${dist.server}">
<include name="*-ejb-jar.xml"/>
<include name="Manifest.mf"/>
<websphere dbvendor="DB2UDBOS390_V6" ejbdeploy="true" rebuild="true" rmicOptions="true" oldCMP="false" tempdir="/tmp" destdir="${dist.server}">
<wasclasspath>
<pathelement location="${was4.home}/deploytool/itp/plugins/org.eclipse.core.boot/boot.jar"/>
<pathelement location="${was4.home}/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime/batch.jar"/>
<pathelement location="${was4.home}/lib/xerces.jar"/>
<pathelement location="${was4.home}/lib/ivjejb35.jar"/>
<pathelement location="${was4.home}/lib/j2ee.jar"/>
<pathelement location="${was4.home}/lib/vaprt.jar"/>
</wasclasspath>
<classpath>
<path refid="build.classpath"/>
</classpath>
</websphere>
<dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN" location="${lib}/dtd/ejb-jar_1_1.dtd"/>
</ejbjar>

Thank in advance
Regards
Suren
 
Benny Shen
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can change the code to
<websphere dbvendor="DB2UDBOS390_V6" ejbdeploy="true" rebuild="true" codegen="false" oldCMP="false" tempdir="/tmp" destdir="${dist.server}">
It can work.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic