Kiran- I believe the problem is you are not specifying what deployment descriptors to pick up. IIRC, Conor sent out a similar reply to such a question very recently.
Nevertheless, try this instead: <ejbjar descriptordir="d:\dev\projects\skyobma\source\service\admin\entity\control\j artemp\META-INF" srcdir="d:\dev\projects\skyobma\source\service\admin\entity\control\jartemp" destdir="D:\dev\projects\skyobma\new"> <weblogic destdir="D:\dev\projects\skyobma\new"> </weblogic> <dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN" location="http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd"/> <dtd publicId="-//BEA Systems, Inc.//DTD WebLogic 5.1.0 EJB//EN" location="http://www.bea.com/servers/wls510/dtd/weblogic-ejb-jar.dtd"/> <include name="**/ejb-jar.xml"/> <exclude name="**/*weblogic*.xml"/> </ejbjar> Cheers! Eddie -----Original Message----- From: Chekutty, Kiran [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 5:05 AM To: [EMAIL PROTECTED] Subject: Help please.. ant 1.5b with weblogic 5.1 Hi, Hope you will help me.... I have read your reply http://www.mail-archive.com/ant-user@jakarta.apache.org/msg19321.html I was getting a message.... Unable to load dependency analyzer: org.apache.tools.ant.util.depend.bcel.AncestorAnalyzer But after downloading bcel.jar & placing it in ant/lib directory that message is gone. But i still have this error message Unable to locate weblogic deployment descriptor. It was expected to be in D:\dev\project kyobma\source\service\admin\entity\control\jartemp\META-INF\ejb-weblogic-ejb -jar.xml [ejbjar] building ejb.jar with 4 files [ejbc] java.lang.NoClassDefFoundError: weblogic/ejbc [ejbc] Exception in thread "main" The below is the post i have posted in jguru forums. =========== I am new to Ant build scripts. I am trying to build script for the project already there. Can anybody please tell me step by step procedure to deploy ejb's. I want to use weblogic to deploy my EJB's. I am using weblogic 5.1. This is the part which I am using to deploy ejb. <ejbjar descriptordir="d:\dev\projects\skyobma\source\service\admin\entity\control\j artemp\META-INF" srcdir="d:\dev\projects\skyobma\source\service\admin\entity\control\jartemp" destdir="D:\dev\projects\skyobma\new"> <weblogic destdir="D:\dev\projects\skyobma\new"> </weblogic> <dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN" location="http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd"/> <dtd publicId="-//BEA Systems, Inc.//DTD WebLogic 5.1.0 EJB//EN" location="http://www.bea.com/servers/wls510/dtd/weblogic-ejb-jar.dtd"/> </ejbjar> This is the message it give me: [ejbjar] Unable to load dependency analyzer: org.apache.tools.ant.util.depend.bcel.AncestorAnalyz [ejbjar] Unable to locate weblogic deployment descriptor. It was expected to be in D:\dev\project kyobma\source\service\admin\entity\control\jartemp\META-INF\ejb-weblogic-ejb -jar.xml [ejbjar] building ejb.jar with 4 files [ejbc] java.lang.NoClassDefFoundError: weblogic/ejbc [ejbc] Exception in thread "main" Please guide me... Thanks in advance Kiran Chekutty Petrotechnics Ltd. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>