ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: PROPOSAL: loading tasks from jars for Ant 1.5
Date Thu, 11 Oct 2001 10:15:18 GMT
On Thu, 11 Oct 2001 07:38, Ovidiu Predescu wrote:
> On Thu, 11 Oct 2001 06:52:51 +1000, Peter Donald <donaldp@apache.org> wrote:
> > On Thu, 11 Oct 2001 04:41, Sam Ruby wrote:
> > > Ovidiu Predescu wrote:
> > > > A simpler solution to the one proposed above is to this is to allow
> > > > antlib to appear inside a <target> element. This way one can write
> > > > the build.xml file that builds a new antlib in a target, and makes
> > > > use of it in another target. Something like this:
> > > > [snip]
> > > > I'm not sure what are the implications with the current class loader
> > > > mechanisms, but a solution can probably be worked out.
> > >
> > > I believe that some of the Ant 2.x designs are conducive to such an
> > > approach, but the last time I looked, this was problematic with the
> > > current design.
> >
> > It is already possible now ! ;)
>
> I would be very interested to see how ;-). Could you give an example?


<javac .../>
<jar .../>
<taskdef .../>

should work. It used to ... at one stage avalons build file did that. Not 
sure if anything has changed in ant to make this harder?

-- 
Cheers,

Pete

------------------------------------------
I just hate 'yes' men, don't you Smithers?
------------------------------------------

Mime
View raw message