Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Delivered-To: moderator for ant-dev@jakarta.apache.org Received: (qmail 17901 invoked from network); 24 Nov 2000 09:12:07 -0000 Received: from m-ext-41.rwg.de (195.38.24.17) by locus.apache.org with SMTP; 24 Nov 2000 09:12:07 -0000 Received: Received: (from uucp@localhost) by m-ext-41.rwg.de id eAO9BZ408226; Fri, 24 Nov 2000 10:11:35 +0100 Received: from alg-41.rwg.de(195.38.24.1), claiming to be "rwg.de" via SMTP by m-ext.rwg.de, id smtpduzqYvh; Fri Nov 24 09:11:26 2000 Message-ID: <3A1E30A1.F174E476@rwg.de> Date: Fri, 24 Nov 2000 10:10:57 +0100 From: "Oliver.Boehm" Organization: RWG GmbH/GVG mbH X-Mailer: Mozilla 4.6 [de] (WinNT; I) X-Accept-Language: de,en MIME-Version: 1.0 To: ant-dev@jakarta.apache.org CC: boehm@ba-stuttgart.de Subject: ejbjar and TopLink (ant 1.2) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hello, we're using WebLogic 5.1 together with TopLink, so I'm happy about the TopLink integration inside Ant. But every time I rebuild an EJB Ant needs 2 tries to create the jar-file: [ejbjar] building ejb_ejournalMaterial.jar with 6 files [java] ERROR: Error from ejbc: Error initializing the CMP Persistence Type for your bean: = [java] Could not find descriptor file with Jar entry name 'META-INF/toplink-cmp-EJSatz.xml' for specified type TOPLink for WebLogic [java] Please be sure this file is available in your ejb-jar file. [java] = [java] weblogic.utils.compiler.ToolFailureException: ERROR: ejbc found errors [java] at weblogic.ejbc.runBody(ejbc.java:328) [java] at weblogic.utils.compiler.Tool.run(Tool.java:80) [java] at weblogic.ejbc.main(ejbc.java:353) [ejbjar] building ejb_ejournalMaterial.jar with 7 files [java] [EJB]: Creating output jar:D:\pilot\classes\server\gebos\subsystem\ejournal\material\ejb_ejourna= lMaterial.jar The jar file is created successfully, but why the error message? Is this normal? Or did I forget something in the ejbjar task? Here's the part of my build.xml: I tried also to include the TopLink XML file in the ejbjar task but with no success. cheers Oliver -- Oliver B=F6hm Tel: (0711)2012-2734 Fax: (0711)2012-6734 mailto:oliver.boehm@rwg.de http://www.rwg.de mailto:boehm@ba-stuttgart.de http://www.ba-stuttgart.de/~boehm