ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: Using properties in depends list for a target
Date Wed, 09 Apr 2008 07:11:26 GMT
> I would like to use properties in the "depends" list for a target, but
> that does not seem to work.

This is not possible because the if/unless attribute takes the _name_ of
a property 
and checks its existence.



> I would also like to use a filter chain to replace tokens in 
> a property instead of a file.

So you want to define a new property based on another one and change its
value.
You can do this with a combination of <loadresource>, String-Resource
and the filterchain.



Jan

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


Mime
View raw message