ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: if, unless problems
Date Fri, 08 Dec 2000 10:53:50 GMT
Alexander V. Gorlov <ales@vis.infotel.ru> wrote:

>>
>>Two notes: (1) if/unless expect the _name_ of a property, so it is
>>if="Version1" instead of ${Version1} and (2) they test for the
>>existance of a property, not its value - setting the property to
>>true or false doesn't make any difference.
> 
> I create <property name="false"> and don`t create <property
> name="true"> It work perfect in <include> and <exclude>, but don`t
> work in <target>.

Yes, that is correct - call it a feature and it may very well change
for Ant 1.3. ${} constructs are not expanded in any attributes of
<project> or <target>.

Stefan

Mime
View raw message