File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply 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.
 
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
ejbjar in build.xml throws error
Please Help Kyle. Problem with ejb deploy using ant for websphere
Ant task ejbjar for Websphere
ANT 1.4 With Websphere 4.0