File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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=""/>
<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/"/>
<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:
subject: What ejbjar task does ?
It's not a secret anymore!