ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter reilly <peter.rei...@corvil.com>
Subject Re: AW: 1.6 migration guide?
Date Tue, 30 Sep 2003 15:01:43 GMT
On Tuesday 30 September 2003 15:52, Antoine Levy-Lambert wrote:
> First of all, the change from ant1.5 to ant1.6 is not that drastic.
>
> There are new tasks and extensions of existing tasks.
>
> The most revolutionary feature is antlib. It should allow users to create
> jar files with
> a descriptor containing all the taskdefs and typedefs that are required.
>
> This work done by Peter Reilly should also make it easier to deliver custom
> conditions, filters, ...
>
> Really, Peter Reilly should be the one to write this migration guide.

Yikes.....
  In any case these are for people that write custom extensions to ant.

>
> Read the docs/manual/CoreTypes/antlib.html file,
> docs/manual/CoreTypes/custom-programming.html.
>
That is my current contribution.

> Apart from antlib, the <import/> task is certainly useful. I am not 100%
> sure myself what you can do and not do
> with it, but in principle it is there to allow several build files to use a
> common part containing for instance
> property definitions, but also targets and whatever is legal in a main
> build file.
>
> Then <subant/> is a nice wrapper around <ant/> to run <ant/> against
a
> fileset of build files, or
> to run <ant/> n times against the same build file, changing the base dir.
>
> Other than that, there is the possibility to put normal tasks directly
> under the <project/> task (outside of any targets)
> which is nice if you want to write a small build file.
>
> Then the <ssh/> and <scp/> tasks will be very useful for deployment.
>
> That's the main points which spring to my mind.

<macrodef> is also something that could be usefull for removing the need
for a lot of current usage of <antcall>

Peter


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message