Thanks Aslak,

You're right, there is no such thing as 1.1 - I should have "post 1.2" <g>.
I have upgraded to 1.2 but am using an older XDoclet library to support
those classes I haven't updated the tags in.

I was able to narrow it down a bit more so that all I have to do to "fix" my
problem is include a <taskdef> for XDoclet prior to my <ejbjar> invocation.
I can't find any dependencies there but I will do as you suggest and post
the build and debug to the Ant list.

tim


-----Original Message-----
From: Aslak Helles�y [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 5:41 PM
To: [EMAIL PROTECTED]
Subject: RE: [Xdoclet-user] ejbjar dependency and BCEL hangs




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


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

Reply via email to