This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes What ejbjar task does ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "What ejbjar task does ?" Watch "What ejbjar task does ?" New topic
Author

What ejbjar task does ?

Suren Raj
Greenhorn

Joined: Jan 24, 2003
Posts: 8
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

Joined: Dec 25, 2003
Posts: 1
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: What ejbjar task does ?