ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bickford, Mark" <Mark_Bickf...@WrightExpress.com>
Subject RE: Getting all targets in a Buildfile
Date Thu, 07 Jun 2012 14:22:05 GMT
Feed the build.xml into <xmlproperty /> and then use the project.target.name property
that results (a comma-delimited list).

-----Original Message-----
From: Stefan Bernsdorf [mailto:gruener.heinrich@googlemail.com] 
Sent: June 07, 2012 8:23 AM
To: Lewis John Mcgibbney; Ant Users List
Subject: Re: Getting all targets in a Buildfile

Again,
sorry, my question was misleading.
I am looking for a possibility to print all target names into a property 
and than feed a <for> task with it.
thanks,
Stefan.
Am 07.06.2012 13:09, schrieb Lewis John Mcgibbney:
> This can usually be achieved by doing ant -projecthelp which in turn
> prints out targets along with a description if the target has one.
>
> hth
>
> Lewis
>
> On Thu, Jun 7, 2012 at 10:03 AM, GrĂ¼ner Heinrich
> <gruener.heinrich@googlemail.com>  wrote:
>> Hi ant-list,
>>
>> Is it possible to retrieve all targets from a buildfile?
>>
>> Thanks, Stefan.
>>
>> ---------------------------------------------------------------------
>> 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




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


Mime
View raw message