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
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.
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
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.