The vars override the property for the current target and antcall targets. I 
have seen something about using callback to call and allow var changes to come 
back but haven't tried it. So, if you use vars to override existing properties 
make sure you watch the scope of usage. The var can disappear and leave you 
with the original property value if you are not careful.

Gilbert Rebhan <[EMAIL PROTECTED]> wrote: 
Hi,

> I would recommend using ant-contrib's  and  logic to overwrite
> properties and dynamically assign the values you need to implement your
> solution: http://ant-contrib.sourceforge.net/tasks/tasks/index.html

normally properties in ant are immutable once set, but you may always
use the ant api and his methods =

project.setProperty() to overwrite an existing property
project.setNewProperty() to set a new property

with a scripting [EMAIL PROTECTED] (jruby,javascript,beanshell recommended)

Tasks like  from the antcontrib task suite do the
same to overwrite existing properties.

Regards, Gilbert

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Thank you,
Chuck Holzwarth
(804) 403-3478 (home)
(540) 335-3171 (cell)
       
---------------------------------
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.

Reply via email to