wood burning stoves 2.0*
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "What ejbjar task does ?" Watch "What ejbjar task does ?" New topic

What ejbjar task does ?

Suren Raj

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}">
<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"/>
<path refid="build.classpath"/>
<dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN" location="${lib}/dtd/ejb-jar_1_1.dtd"/>

Thank in advance
Benny Shen

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.
I agree. Here's the link: http://aspose.com/file-tools
subject: What ejbjar task does ?
Similar Threads
ANT 1.4 With Websphere 4.0
Ant task ejbjar for Websphere
ejbjar in build.xml throws error
Please Help Kyle. Problem with ejb deploy using ant for websphere
ANT 1.4 With Websphere 4.0