The ejbjar task uses the jakarta-BCEL framework to extract all dependent classes. This means that, in addition to the classes that are mentioned in the deployment descriptor, any classes that these depend on are also automatically included in the jar file.
Download and place the classes in your ANT_HOME/lib directory http://jakarta.apache.org/builds/jakarta-bcel/release/v5.0/ -----Original Message----- From: George Spalding [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 18, 2002 5:04 AM To: Ant Users List Subject: Re: ejbjar Unable to load dependency analyzer: org.apache.tools.ant.util.depend.bcel.AncestorAnalyzer Hi, I think mr Roarke, Partha hs got the same problem... Could it be that you don't have optional.jar in ant/lib ? because thats the jar that contains the AncestorAnalyzer class Roarke- aren't you getting the same problem? BTW- Roarke wrote: > I think I have resolved > the exception bit cuz I copied the whole runtime websphere directory > over and I think it uses a bunch of files. > didn't I say that the websphere element uses a buchn of files Yeah, I thought I told you so... /George --- Glen Cordrey <[EMAIL PROTECTED]> wrote: > The ejbjar task under Ant 1.5.1 reports > > Unable to load dependency analyzer: > org.apache.tools.ant.util.depend.bcel.AncestorAnalyzer > > I have bcel-5.0.zip in ant/lib (and so on Ant's classpath). What > else do I need for ejbjar to work? > > The news archives contains other postings on this but I haven't > seen posted the specifics of what needs > to be done to make this work. > > > Glen Cordrey Convera > voice: (410) 740-8800 x1150 www.convera.com > <http://www.convera.com/> > fax: (410) 740-8810 > > > ===== -\|/-/|\-\|/-/|\-\|/-/|\-\|/-/|\-\|/-/|\-\|/- George Spalding Private: [EMAIL PROTECTED] Phone: Mobile: +46 701 849 507 Home: +46 8 21 36 59 -/|\-\|/-/|\-\|/-/|\-\|/-/|\-\|/-/|\-/|\-\|/- __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>