ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale Anson <>
Subject Re: ANT 1.7 features suggestion
Date Wed, 05 May 2004 15:21:53 GMT wrote:
>> 6) Get the properties from a target after antcall
>>  At the moment if you have a target that define some properties, the 
>>only way to call it in order to get the values is using "depends".
>>  This is a problem as you may want to invoke your target not 
>>at the beginning or you may want to pass some parameters.
>>  That's why it would be nice to have a "keepProperties" (or 
>>attribute to the <ant> and <antcall> task.
> Sounds for a <return> task or a <antcall returnproperty=""/>.
AntContrib has a couple of tasks that handle this specific situation, 
see <antfetch> and <antcallback>. <antfetch> is analogous to <ant>,

<antcallback> is analogous to <antcall>, both allow returning property 
values set in the remote target. Also see AntContrib's <runtarget> or 
Antelope's <call> task (these are identical) which call a target in the 
scope of the current project. These eliminate the overhead of <antcall> 
and make any properties set in the called target available in the 
current project.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message