ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: <propertyset>
Date Mon, 12 May 2003 15:50:38 GMT
My own implementation used Matcher.matches, so you would have to add a
trailing .* to really match all properties not starting with java I think.
Had I used Matcher.find, then it would have been OK. I'm not sure how the
Ant encapsulation of Regexp does it. --DD

> -----Original Message-----
> From: Stefan Bodewig [mailto:bodewig@apache.org]
> Sent: Monday, May 12, 2003 10:33 AM
> To: dev@ant.apache.org
> Subject: <propertyset>
> 
> <java>
>   <syspropertyset>
>     <propertyref regexp="^[^j][^a][^v][^a]"/>
>   </sysproperty>
> </java>
> 
> will pass all Ant properties whose name does not start with "java" (at
> least I think so ;-)

Mime
View raw message