ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <j...@socialchange.net.au>
Subject Re: Ant 1.5... loading tasks from jars?
Date Sat, 06 Oct 2001 07:13:00 GMT
On Fri, Oct 05, 2001 at 11:09:02AM -0500, Tim Dawson wrote:
> I made the suggestion back in May to allow loading tasks from jars (a
> tasklib, if you will), and I know it is currently listed in the 2.0
> requested features, but it appears to be possible today...
> 
> <taskdef resource="meta-inf/ant.tdf">
>   <classpath>
>     <pathelement location="mylib/mytasks.jar"/>
>   </classpath>
> </taskdef>
> 
> Of course, this is a completely non-obvious solution, which is why its still
> a requested feature. :-)

Cool :) No more "and now please copy xyz.jar to your $ANT_HOME/lib" when
distributing projects.

Cc'ing the users list, as this is pretty useful ;)

--Jeff

[snip]
> 
> Tim

Mime
View raw message