Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 17420 invoked from network); 18 Jul 2002 21:42:00 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 18 Jul 2002 21:42:00 -0000 Received: (qmail 11850 invoked by uid 97); 18 Jul 2002 21:42:12 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 11834 invoked by uid 97); 18 Jul 2002 21:42:12 -0000 Mailing-List: contact ant-user-help@jakarta.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 ant-user@jakarta.apache.org Received: (qmail 11819 invoked by uid 98); 18 Jul 2002 21:42:11 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) content-class: urn:content-classes:message Subject: ejbjar: unable to load dependency analyzer Date: Thu, 18 Jul 2002 17:41:54 -0400 Message-ID: <0A1FCA1AEC85D311A3E10008C7E6DD640EFAB982@dolphin.gartner.com> X-MS-Has-Attach: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MS-TNEF-Correlator: Thread-Topic: ejbjar: unable to load dependency analyzer Thread-Index: AcIuouEZB14EjJqVEdaJLABQi7KOfQAAI1KQ X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 From: "Bridges,Edward" To: "Ant Users List" Cc: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N hello,=20 I get this error message when trying to use the ejbjar task with ant = 1.5: > [ejbjar] Unable to load dependency analyzer: = org.apache.tools.ant.util.depend.bcel.AncestorAnalyzer the ant task as written (see below) works fine in 1.4.1, but when i = upgrade, i get the message above. i can send complete output of "ant = -debug clean ear" as a logfile if it is needed, excerpts from it are = below. i searched through the archive and found this message from Conor = MacNeill: > http://www.mail-archive.com/ant-user@jakarta.apache.org/msg17071.html which tells me that i need to have bcel.jar in $ANT_HOME/lib, which i = do: Directory of c:\ant\lib 03/27/2002 12:25p . 03/27/2002 12:25p .. 07/09/2002 11:13a 716,139 ant.jar 07/17/2002 06:10p 345,549 bcel.jar 07/09/2002 11:13a 653,661 optional.jar 07/09/2002 11:20a 933,730 xercesImpl.jar 07/09/2002 11:20a 108,484 xml-apis.jar thanks in advance! --e-- p.s. following is some relevant information. ********************************************************************* here is the relevant ant task: ********************************************************************* ********************************************************************* here is the output of ant -diagnostics: ********************************************************************* ------- Ant diagnostics report ------- Apache Ant version 1.5 compiled on July 9 2002 ------------------------------------------- Implementation Version (JDK1.2+ only) ------------------------------------------- core tasks : 1.5 optional tasks : 1.5 ------------------------------------------- ANT_HOME/lib jar listing ------------------------------------------- ant.jar (716139 bytes) optional.jar (653661 bytes) xercesImpl.jar (933730 bytes) xml-apis.jar (108484 bytes) bcel.jar (345549 bytes) ------------------------------------------- Tasks availability ------------------------------------------- com/starbase/starteam/Item ********************************************************************* here is the relevant output of ant -debug: ********************************************************************* C:\projects\Gartner\src\camps\2.0>ant -debug ear Classpath in use by ant: = c:\jdk1.3.1\lib\tools.jar;c:\ant\lib\bcel.jar;c:\ant\lib\xml-apis.jar;c:\= ant\lib\xercesImpl.jar; c:\ant\lib\optional.jar;c:\ant\lib\ant.jar; . . . Apache Ant version 1.5 compiled on July 9 2002 Buildfile: build.xml Detected Java version: 1.3 in: c:\jdk1.3.1\jre . . . +User task: jpcovmerge = org.apache.tools.ant.taskdefs.optional.sitraka.CovMerge +User task: ejbjar = org.apache.tools.ant.taskdefs.optional.ejb.EjbJar +User task: war org.apache.tools.ant.taskdefs.War . . . ejbjar: [ejbjar] Unable to load dependency analyzer: = org.apache.tools.ant.util.depend.bcel.AncestorAnalyzer fileset: Setup scanner in dir C:\projects\Gartner\src\camps\2.0\etc with = patternSet{ includes: [**/ejb-jar.xml] excludes : [**/weblogic*.xml] } [ejbjar] 1 deployment descriptors located. [ejbjar] Resolved -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans = 2.0//EN to url http://java.sun.com/dtd/ejb-jar_ 2_0.dtd [ejbjar] The old method for locating CMP files has been DEPRECATED. [ejbjar] Please adjust your weblogic descriptor and set = newCMP=3D"true" to use the new CMP descriptor inclusion mechani sm. [ejbjar] building camps-ejb.jar with 25 files -- To unsubscribe, e-mail: For additional commands, e-mail: