Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 33071 invoked from network); 26 Jan 2001 03:45:52 -0000 Received: from gtei1.bellatlantic.net (199.45.40.145) by h31.sny.collab.net with SMTP; 26 Jan 2001 03:45:52 -0000 Received: from pavilion (adsl-151-202-194-165.nyc.adsl.bellatlantic.net [151.202.194.165]) by gtei1.bellatlantic.net (8.9.1/8.9.1) with SMTP id WAA14584 for ; Thu, 25 Jan 2001 22:45:58 -0500 (EST) From: "Joshua Davis" To: Subject: RE: ejbjar error Date: Thu, 25 Jan 2001 23:03:11 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Double check your CLASSPATH first... at work, we've noticed ejbjar requires CLASSPATH to be set 'just right'. > -----Original Message----- > From: Bill Lynch [mailto:blynch@4charity.com] > Sent: Thursday, January 25, 2001 11:32 AM > To: Ant-User > Subject: ejbjar error > > > All, > > I've been trying to get the ejbjar (using weblogic) task to work and I've > run into what appears to be an internal ejbc error. I'm using the latest > version of ant from CVS (jan 22, ver 1.3alpha) but I've also noticed the > same problem with Ant 1.2. > > My task is the following: > > > descriptordir="${ejb.descriptor.dir}/${ejb.name}" > basejarname="${ejb.name}" > > > classpath="${weblogic.jar}:${weblogicaux.jar}:${rel.path}/classes" > keepgeneric="true" > /> > > > > > > I can verify that the jar's are being produced correctly (the step before > calling ejbc), however when the task calles ejbc, i get the > following error: > > C:\cvs>ant -Dejb.name=CcReceipt ejb > Buildfile: build.xml > > ejb: > [ejbjar] building CcReceipt.jar with 6 files > [java] ERROR: Error from ejbc: weblogic.boot.ZipSource > [java] weblogic.utils.compiler.ToolFailureException: ERROR: > ejbc found > erro > rs > [java] at weblogic.ejbc.runBody(ejbc.java:340) > [java] at weblogic.utils.compiler.Tool.run(Tool.java:80) > [java] at weblogic.ejbc.main(ejbc.java:365) > [java] Java Result: 1 > > My WL classes have been updated to the most recent service pack but that > still doesn't solve the problem. > > Any ideas? > > Thanks in advance, > --Bill > > ------------------------------------------------------- > 4charity.com blynch@4charity.com > CoolServlets.com bill@coolservlets.com >