> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Kuntz, Tim > Sent: 25. februar 2003 23:56 > To: [EMAIL PROTECTED] > Subject: [Xdoclet-user] ejbjar dependency and BCEL hangs > > > Here's a question that the list probably doesn't get very often, "Why does > XDoclet fix my problem?" > > My problem is that the dependency, attribute = full, checking in > the ejbjar > task hangs unless I happen to run XDoclet in my build first. What is > stranger yet is that the ejb's I am trying to build have not been > converted > to use XDoclet tags yet. Basically, I have reduced my build file > down to the > point where if I remove the "taskdef" and "ejbdoclet" tasks prior to the > "ejbjar" call the dependency checking fails. If I add them back in, BCEL > works fine. >
http://ant.apache.org/manual/OptionalTasks/ejb.html requires BCEL on the classpath if you run <ejbjar dependency="full">. I guess you have seen that. The fact that things work if xdoclet is run before ejbjar (and not if it isn't) is probably due to some strange side-effect. I doubt it has anything to do with XDoclet. I suggest you post the relevant parts of your build script (and any error messages) to the Ant mailing list. Maybe they can tell you why "XDoclet solves your problem" ;-) Anyway, XDoclet doesn't use BCEL (we played with it in CVS in the early post-1.1.2 release days, but it was ditched). -And there is no such thing as XDoclet 1.1. I suggest you upgrade to XDoclet 1.2.0 beta 2. HTH, Aslak > My assumption is that XDoclet 1.1 is loading something into a Ant > classloader that is allowing the dependency checking to work. > > Any chance someone else has run across this? > > thanks, > tim > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
