Bug 32727 - Version 1.6.2 doesn't include becl package??
Summary: Version 1.6.2 doesn't include becl package??
Status: CLOSED INVALID
Alias: None
Product: Ant
Classification: Unclassified
Component: Build Process (show other bugs)
Version: 1.6.2
Hardware: PC Windows 2000
: P2 blocker (vote)
Target Milestone: ---
Assignee: Ant Notifications List
URL:
Keywords: ErrorMessage
Depends on:
Blocks:
 
Reported: 2004-12-16 07:55 UTC by Suman
Modified: 2008-02-22 12:18 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Suman 2004-12-16 07:55:43 UTC
Hi, 
I am using Ant 1.6.2 library to build ejbjar, I have the folwoing target

<target name="ejbJAR">
<ejbjar 
basejarname="ejbjarForWS"
srcdir="${builddir}/tcmgEar"
destdir="${builddir}"
descriptordir="${builddir}/tcmgEar/TcmgEJB"
classpath="${builddir}/tcmgEar/APP-INF/classes"
>
</ejbjar>
</target>

while performing giving the following error: 

Unable to load dependency analyzer: 
org.apache.tools.ant.util.depend.bcel.AncestorAnalyzer - dependent class not 
found: org/apache/bcel/classfile/ClassParser

Please suggest.
Thanks,
Suman
Comment 1 Jan Mat 2004-12-16 08:10:14 UTC
That dependency is described in the install-section of the manual.
http://ant.apache.org/manual/install.html#librarydependencies

We don´t deliver any external library.
Comment 2 Swapnish Khanolkar 2005-02-18 19:55:09 UTC
Hi Folks,

I have experienced the same Issue.
Ant 1.6.2 integrated in Eclipse 3.0.1.

Ive even tried downloading the bcel libs,
but still no resolution...

--Swapnish

(In reply to comment #0)
> Hi, 
> I am using Ant 1.6.2 library to build ejbjar, I have the folwoing target
> 
> <target name="ejbJAR">
> <ejbjar 
> basejarname="ejbjarForWS"
> srcdir="${builddir}/tcmgEar"
> destdir="${builddir}"
> descriptordir="${builddir}/tcmgEar/TcmgEJB"
> classpath="${builddir}/tcmgEar/APP-INF/classes"
> >
> </ejbjar>
> </target>
> 
> while performing giving the following error: 
> 
> Unable to load dependency analyzer: 
> org.apache.tools.ant.util.depend.bcel.AncestorAnalyzer - dependent class not 
> found: org/apache/bcel/classfile/ClassParser
> 
> Please suggest.
> Thanks,
> Suman

Comment 3 Stefan Bodewig 2005-03-11 09:55:25 UTC
If bcel.jar and ant-bcel.jar are loaded from the same place in your CLASSPATH,
it will work.  If they are in different classloaders, it won't.