ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Reilly" <peter.kitt.rei...@gmail.com>
Subject Re: Issues with building custom Ant task and using it in same build?
Date Tue, 25 Mar 2008 22:54:04 GMT
On Tue, Mar 25, 2008 at 10:50 PM, Karr, David <david.karr@wamu.net> wrote:
> I have to write a custom Ant task to get some detailed data out of
>  Perforce into some properties, and then I need to use those properties
>  in following steps of a build.  Are there any difficulties in having my
>  build first compile the Ant task, and then use it in the further steps
>  of the build?  Can I do that in a single Ant build file,

There is no problem with this.
(I did this all the time)
Just place the <taskdef or <typedef after the compile step.

Peter

> or do I have to
>  do something funky with a top-level script to build the task, and then a
>  sub-level script to use the task?
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>  For additional commands, e-mail: user-help@ant.apache.org
>
>

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


Mime
View raw message