Bug 32727

Summary: Version 1.6.2 doesn't include becl package??
Product: Ant Reporter: Suman <sumanpal>
Component: Build ProcessAssignee: Ant Notifications List <notifications>
Status: CLOSED INVALID    
Severity: blocker Keywords: ErrorMessage
Priority: P2    
Version: 1.6.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   

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.