On Thu, 2002-05-09 at 14:20, Andrew C. Oliver wrote:
> Why that would be excellent. I got it working but I HATE what I did.
>
> Thank you very much,
>
>
This works for me (it also builds Weblogic & Websphere, but I removed
them from this example)
<target name="ejb-jar" depends="ejb-prep" description="Build the EJB's">
<mkdir dir="${build}/lib/Borland"/>
<ejbjar srcdir="${build}/ejb"
basejarname="CAServer"
descriptordir="${descriptors}/${ant.project.name}">
<include name="**/ejb-jar.xml"/>
<support dir="${build}/ejb"/>
<borland destdir="${build}/lib/Borland"
verify="on"
generateclient="true"
debug="false"
suffix=".jar">
<classpath refid="borland.class.path"/>
<classpath location="${build}/ejb"/>
</borland>
<dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans
1.1//EN"
location="${dtd}/ejb-jar_1_1.dtd"/>
<dtd publicId="-//Inprise Corporation//DTD Enterprise JavaBeans
1.1//EN"
location="${dtd}/ejb-inprise.dtd"/>
</ejbjar>
</target>
The deployment descriptors are named ejb-jar.xml & ejb-inprise.xml
Hope this helps, let me know if you have any questions.
--
Jesse Stockall | Tel: 1+ 613.599.2441 ext. 243
CRYPTOCard Corporation | Fax: 1+ 613.599.2442
Suite 304, 300 March Rd. | email: [EMAIL PROTECTED]
Ottawa, ON, Canada K2K 2E2 | web: www.cryptocard.com
---------------------------------------------------------------------
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>