Andrew, The following example successfully builds a number of EJB's using ejbjar (I changed actual names we use in our project):
<target name="ejbs" depends="init"> <ejbjar descriptordir="${src.dir}/xml/META-INF" srcdir="${dev.classes.dir}" destdir="${dev.ejb.dir}" basejarname="serviceEJB"> <weblogic destdir="${dev.ejb.dir}" newCMP="true"> <classpath refid="project.classpath" /> </weblogic> <include name="**/ejb-jar.xml"/> <exclude name="**/weblogic*.xml"/> </ejbjar> </target> This small snippet of ant assumes that you have two files in ${src.dir}/xml/META-INF. Specifically, ejb-jar.xml & weblogic-ejb-jar.xml. Note that I am also using a number of other "references" in this example: project.classpath, as well as the references to the directories. These "references" need to be set prior to their use. Good Luck! Tony Mercado KMV, LLC 415.352.3046 [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> -----Original Message----- From: Andrew Close [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 01, 2001 6:56 AM To: Ant Users List Subject: RE: Ant & EJB i currently have ant compiling my code and building jar's and ear files but i'm not yet doing the weblogic.ejbc. are there any good examples on how to do this? i've tried the examples in the ant manual for this same thing(i think you use the ejbjar command?) and was unsuccessful. thanx andy --- [EMAIL PROTECTED] wrote: > Hi Rafal.. > > The ANT can compile and then invoke your > weblogic.ebc,create the required > stubs and skeletons.So go right ahead... > > aditya > > > > -----Original Message----- > > From: Rafal Kedziorski [SMTP:[EMAIL PROTECTED]] > > Sent: Thursday, November 01, 2001 4:03 PM > > To: [EMAIL PROTECTED] > > Subject: Ant & EJB > > > > Hallo, > > > > bevor I try this, a short question. We have much > EJB, which will be > > compiled and created with Makefile's. After > compiling we call > > weblogic.ebc for creating the EJB's. It's possible > to make this with > > ant? > > > > > > Best Regards, > > Rafal > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>