ant-dev mailing list archives

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

> 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
> it for some tests, for example.

1) Thats not well-formed XML syntax, so even better would be <unset

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:   <>
For additional commands, e-mail: <>

View raw message