From user-return-35638-apmail-ant-user-archive=ant.apache.org@ant.apache.org Tue Aug 05 19:29:54 2003 Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 18151 invoked by uid 500); 5 Aug 2003 19:29:53 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 18090 invoked from network); 5 Aug 2003 19:29:53 -0000 Received: from relay.t-intra.de (HELO relay.t-online-com.de) (62.156.147.74) by daedalus.apache.org with SMTP; 5 Aug 2003 19:29:53 -0000 Received: from DJ0X820J (p5080e1de.dip0.t-ipconnect.de [80.128.225.222]) by relay.t-online-com.de (SMTPSVC(1.0.0.1)) with ESMTP id 9316715002C for ; Tue, 5 Aug 2003 21:14:20 +0200 (CEST) Message-ID: <0c9101c35b75$84b56ed0$020200c0@DJ0X820J> From: "Antoine Levy-Lambert" To: "Ant Users List" References: <3F2FE565.3040905@cit.com.br> Subject: Re: Ejbjar Task, Linux and Weblogic 6.1 Date: Tue, 5 Aug 2003 19:17:58 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Try ant 1.5.3 or ant1.6 alpha. Also have a look in bugzilla to see what are the open bugs against ejbjar. URL is http://nagoya.apache.org/bugzilla Cheers, Antoine ----- Original Message ----- From: "Daniel H A Lima" To: Sent: Tuesday, August 05, 2003 7:12 PM Subject: Ejbjar Task, Linux and Weblogic 6.1 > Hi guys, i need some help here: > > I'm getting an exception when i try to use ejbjar under Linux. Two > odd things about this error : > > 1. When i run the same target (that uses ejbjar) on Windows, > everything works fine. > 2. Under Linux, ejbjar task fails only when subdirectories are > scanned to search deployment descriptors, like : > > ***** This will fail ***** > [ejbjar descriptordir="src" srcdir="classes" flatdestdir="true"] > [include name="**/subdirectory/**/*-ejb-jar.xml"/] > > ****** This will work ****** > [ejbjar descriptordir="src/deploy_descs_dir" srcdir="classes"] > [include name="**/Some-ejb-jar.xml"/] > > The error msg is strange : > > [ejbjar] Resolved -//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN to > local file etc/weblogic600-ejb-jar.dtd > [ejbjar] building MyEJB.jar with 2 files > [ejbjar] adding file 'META-INF/ejb-jar.xml' > [ejbjar] adding file 'META-INF/weblogic-ejb-jar.xml' > +Task: java > [ejbjar] Unrecognized publicId -//BEA Systems, Inc.//DTD WebLogic > 6.0.0 EJB//EN - using EJB 1.1 compiler > The ' characters around the executable and arguments are > not part of the command. > [ejbc] weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ > Couldn't find a bean called MyEJB ] > [ejbc] at weblogic.utils.Debug.assert(Debug.java:84) > [ejbc] at > weblogic.ejb20.dd.xml.WLDD51Helper.initialize(WLDD51Helper.java:67) > > I've tried 2 differente versions of ANT (1.4.1 and 1.5.2) and the > problema still remains. > Under Windows the two versions of ANT work fine. Any glue ? Can > Weblogic be the problem ? > > -- > ______________________________________________ > > Daniel Henrique Alves Lima, Software Engineer > CiT Systems - Software enabling the e-world > lima@cit.com.br > http://www.cit.com.br > Phone: +55 19 3737 4596 > +55 19 3737 4500 > Fax: +55 19 3737 4501 > _________________________________________________________________________ > > "Spike once ask me... What does it take for a soldier to become a > leader... What differentiates the two ? > There is no difference. Sometimes certain soldiers are chosen to lead > other soldiers. (...) But they never stop being soldiers. > Because when the stakes are high... When the battle burns... When > the death seems near... You either fight or your don't. You're either a > soldier or you're not. (...) I'm a soldier. I fight. That's what i do." > > Optimus Prime : TF - G1 : DW > _________________________________________________________________________ > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org