ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: suggestion for if/unless syntax change
Date Thu, 21 Mar 2002 09:35:38 GMT
----- Original Message -----
From: "stephan beal" <stephan@einsurance.de>

> A different, backwards-compatible feature which might make the use of 'if'
> more useful is adding an 'unset' attribute to <property>:
>
> <property name='foo' unset/>
>
> Then we can be sure that ${foo} is not set, in the case that we want to
unset
> it for some tests, for example.

1) Thats not well-formed XML syntax, so even better would be <unset
property="foo"/>

2) Unsetting properties goes against the immutability of properties that Ant
1.x has, so I, for one, would not support an unset task.




--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message