Funny!
I tested it today:
- it fails if -> you build xdoclet with ant 1.4 and run it using ant 1.3
- it doesn't fail if -> build using 1.3, run using 1.3 or 1.4

The reason is in 1.4 they changed the hierarchy. Task is now derived
from ProjectComponent. We use some methods that where in Task but are
now in ProjectComponent with the same signature. I didn't know binary
compatibility fails that easily!! So xdoclet v1.0 needs 1.4, not because
it uses any of its features but because it's compiled with ant 1.4!!

Maybe we should have a 1.0.1 compiled with ant 1.3? Later we may use
some of 1.4 features and mandate use of 1.4. Or at least for the moment
post a news/announcement that states it needs 1.4?

Ara.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:xdoclet-user-
> [EMAIL PROTECTED]] On Behalf Of Dmitri Colebatch
> Sent: Friday, September 21, 2001 1:39 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Xdoclet-user] XDoclet v1.0 is released!
> 
> Jason,
> 
> I didn't think we'd introducted any dependancies on 1.4, but the
version
> shipped with XDoclet is indeed 1.4 so perhaps we have.  Is that ok for
> you to upgrade your ant.?
> 
> cheers
> dim
> 
> On Thu, 20 Sep 2001 [EMAIL PROTECTED] wrote:
> 
> > Congratulations!
> >
> > I just started looking at 1.0, and am trying to update some of my
ant
> > build scripts.  Does the ant task require a specific version of Ant
(I
> > haven't see anything specific in the docs yet). I'm using ant 1.3,
but
> the
> > xdoclet/ejbdoclet task is complaining about not being able to find
> > org/apache/tools/ant/ProjectComponent, which doesn't exist in my ant
> jars.
> >  (that sounds kind of funny :) )    Anyway, I know that 1.4 is out,
do I
> > need to use that instead?
> >
> > thanks,
> > jason
> >
> >
> >
> >
> >
> >
> > Ara Abrahamian <[EMAIL PROTECTED]>
> > Sent by: [EMAIL PROTECTED]
> > 09/20/2001 02:29 AM
> >
> >
> >         To:     [EMAIL PROTECTED], xdoclet-
> [EMAIL PROTECTED],
> > [EMAIL PROTECTED]
> >         cc:
> >         Subject:        [Xdoclet-user] XDoclet v1.0 is released!
> >
> >
> >
> > XDoclet 1.0 is released!
> >
> > http://sourceforge.net/projects/xdoclet
> >
> > Ara.
> >
> >
> > _________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >
> >
> > _______________________________________________
> > Xdoclet-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> >
> >
> >
> >
> > _______________________________________________
> > Xdoclet-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> >
> 
> 
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to