ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <>
Subject Re: understanding ant tasks:EJBC
Date Sat, 20 Jan 2001 06:13:38 GMT

Have you looked at the documentation for these tasks. Check here

You will notice that <ejbc> applies only to WL451 and so probably not of
much interest to you. The <ejbjar> task is what you want to use. There are
a few examples in there to get you started. If that doesn't help, post
again with more info.


----- Original Message -----
From: "Patrick Moylan" <>
> Hey,
> I am currently trying to convert a test project into ant. I now use
> Makefiles and do the following to create a entitybean.jar
> 1. compile classes to $(buildtemp)
> 2. mkdir $(buildtemp)\META-INF
> 3. copy *.xml to $(buildtemp)
> 4. from $(buildtemp), jar -cvf tmp.jar MYPACKAGE META-INF
> 5. java -classpath WEBLOGICCLASSPATH -Dweblogichome weblogic.ejbc tmp.jar
> entitybean.jar
> I have been trying to convert this to ant but am having problems. I got
> to create a jar, but it only contained the compiled entitybean classes
> not the xml, nor did it run weblogic. How does the built in ant tasks
> and EJBJAR break up the work?
> any help would be great.
> thanks

View raw message