ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <>
Subject Re: optional tasks web page for ANT 2 ? or before ?
Date Mon, 22 Apr 2002 11:05:52 GMT
It wasn't really a 'hack' in that it was fairly well done (IMHO! :) - an
interface is all that was needed for a task writer.  And of course the
obligatory changes to IntrospectionHelper.  There was nothing hard to
support about it - it was very simply implemented.

All you're accomplishing is making folks wonder why the rest of the world
can make plugin-capable software yet the award-winning Java build tool
cannot.  *shrug*   I don't really understand why you're fighting this
because you've got myrmidon waiting in the wings, and if its good enough to
run Ant 1.x builds and make all our headaches go away in the extensibility
category then you've no doubt got a real winner and it'll supercede Ant 1.x
and there will not be an Ant 1.6.  Right?!  :))

I don't have time to mess with ProjectHelper between now and Ant 1.5

Do you want me to re-propose that same change?  Is just the way it came off
then putting you off, but the actual code is ok?  Think of <ejbjar>.  Think
of XDoclet.


----- Original Message -----
From: "Peter Donald" <>
To: "Ant Developers List" <>
Sent: Monday, April 22, 2002 6:26 AM
Subject: Re: optional tasks web page for ANT 2 ? or before ?

On Mon, 22 Apr 2002 19:49, Erik Hatcher wrote:
> ----- Original Message -----
> From: "Peter Donald" <>
> To: "Ant Developers List" <>
> Sent: Sunday, April 21, 2002 11:49 PM
> Subject: Re: optional tasks web page for ANT 2 ? or before ?
> >On Mon, 22 Apr 2002 13:31, Cyrille Morvan wrote:
> >> It was very difficult for me to integrate a JOnAS EJB task in ant, it
> seems
> >> now
> >> to be impossible to integrate my jythonc task (
> >> )
> >
> >Yep this is an unfortunate side-effect of current structure of ant. Ant2
> will
> >hopefully enable a much more decentralized structure where you can drop
> >arbitrary tasks in a far easier fashion.
> Well, just to be fair, it is you (Peter) that -1'd a patch that Jose
> Alberto mostly designed and I tweaked and implemented that would have
> allowed us to modify <ejbjar> to be externally extensible and made the
> whole JOnAS thing be a non-issue. XDoclet would benefit enormously from
> that patch as well.
> Again, I have the code still lying around and if you want to remove
your -1
> I'll gladly put it up for a vote again. We still have time to get this
> Ant 1.x, although we're cutting it close to get the refactorings done to
> <ejbjar> and other similar tasks like <serverdeploy>.  Please?!

It was a hack - not some elegant design that is easy to support in the
portable to future problems and so forth. We already have to live with
of ugly constructs because someone added in hacks to solve their immediate
problem (if/unless on targets anyone?). If you wanted to do it properly and
make sure it is both extensible and easy to support then I would be all for
it - hell I would help you do it. Thats not how it was proposed though.

Besides - given the recent ProjectHelper refactorings you can now add any
arbitrary configuration system for tasks. Theres a few limitations;
configurer must be in same classloader as ant and proprty must be set (or is
it read out of a services file????). If you really want it implement it like
that and see how it works. That would be one way to validate your new
configurer mods.


Peter Donald

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message