this is a typically call : we store the ejb-jar.xml and ejb-inprise.xml in the folder ${rsc.dir}/${ant.project.name}/META-INF <!-- package ejb jar files --> <ejbjar srcdir="${build.dir}" basejarname="${basejarname}" descriptordir="${rsc.dir}/${ant.project.name}/META-INF" manifest="rsc/manifest.mf" > <borland destdir="lib" verify="on" generateclient="on" debug="off"> <classpath refid="classpath" /> <!-- our standard classpath define above --> </borland> <support dir="${build.dir}"> <!--include all necessary extern classes --> <include name="**\mypackage\A.class"/> <include name="**\mypackage\B.class"/> <include name="**\myotherpackage\*class"/> <exclude name="**\*Test*.class"/> </support> <dtd publicId="-//Inprise Corporation//DTD Enterprise JavaBeans 1.1//EN" location="http://internal.web.site/dtds/ejb-inprise.dtd"/> <dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN" location="http://internal.web.site/dtds/ejb-jar.dtd"/> <include name="ejb-jar.xml"/> </ejbjar>
-------------------------------------------- Benoit Moussaud - Software Team Leader [EMAIL PROTECTED] CTS - Cril Telecom Software http://www.criltelecom.com 8 rue danjou 92517 Boulogne Billancourt - France Tel: (33) 1 58 17 04 78 -----Message d'origine----- De : Joao Machado [mailto:[EMAIL PROTECTED]] Envoyé : mardi 12 mars 2002 14:16 À : Ant Users List Objet : Using EJBTask with Borland AppServer Hi, I'm trying to use Ant to build a J2EE application (multiples EJBs in one JAR) that runs on Borland AppServer without sucess until now. My problem is that the java2iiop compiler isn't working as expected and my POA and Helper classes aren't generated. Because I don't know what EJBTask is doing inside it, I could not solve the problem. I think that the problem is mine (some wrong attribute at borland node in build file) and I would like to know if anyone tried that before and could send the build-file to me. Thanks, Joao Machado K2 sistemas --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.333 / Virus Database: 187 - Release Date: 8/3/2002 -- 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]>