You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Jesse Glick <je...@sun.com> on 2009/11/04 01:52:10 UTC

Re: if/unless Attributes

Stefan Bodewig wrote:
>> 2. Introduce Project.isTrueOrSet(String val) which would return true
>> if toBoolean(val) || getProperty(val) != null.
> 
> PropertyHelper likely is the better place for this, otherwise I agree,
> the code has to move out of Target and needs the described semantics.  [...]
> 
>> 3. Call iTOS from <target>, <fail>, etc. - anything with if/unless
>> attributes with the standard meaning.
> 
> Sounds good.

So it looks like all this is now implemented - nice! Should there be an entry in WHATSNEW, and updates to the manual?


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


Re: if/unless Attributes

Posted by Jesse Glick <je...@sun.com>.
Stefan Bodewig wrote:
>> Should there be an entry in WHATSNEW, and updates to the manual?
> 
> Absolutely.  Unfortunately I'm pretty much maxed out for the next few
> weeks and struggle to get some open source coding time.

I can try to document it then.


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


Re: if/unless Attributes

Posted by Stefan Bodewig <bo...@apache.org>.
On 2009-11-04, Jesse Glick <je...@sun.com> wrote:

> So it looks like all this is now implemented

Yep, including tests.

> Should there be an entry in WHATSNEW, and updates to the manual?

Absolutely.  Unfortunately I'm pretty much maxed out for the next few
weeks and struggle to get some open source coding time.

Stefan

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