ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Pogonyshev <p.pogonys...@finamatics.com>
Subject Re: one more problem
Date Mon, 20 Feb 2006 14:23:06 GMT
On 20 February 2006 16:04, Markus M. May wrote:
> Hi, to get the Locale from the file you can use the propertyregexp-Command:
> 
>       <propertyregex property="file.name"
>               input="${base.in.file}"
>               regexp="^(.*)[_]{1}(.*)\.class$$"
>               select="\2"
>               casesensitive="false" />

Thank you, I forgot to read all the docs in Ant-Contrib ;)

One more, less important question: if I use several targets
that invoke the same macro and set a property in that macro
for temporary use (like above), I assume that makes parallel
builds unreliable, right?

Paul

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


Mime
View raw message