ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: PropertySet
Date Thu, 26 Feb 2004 13:14:11 GMT
--- Steve Cohen <scohen@javactivity.org> wrote:
> How do you negate a non-boolean property?  How do
> you negate null?
> 
Answer:  You don't.  You negate the selection
criteria, not the values... :)

example:

<!-- properties that match re "^foo\..*" -->
<propertyset id="foo.props" prefix="foo" />

<!-- everything else -->
<propertyset negate="true">
    <propertyset refid="foo.props" />
</propertyset>

-Matt

__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools

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


Mime
View raw message