ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stuart Barlow <Stuart.Bar...@hummingbird.com>
Subject Re: PropertyFile
Date Tue, 05 Mar 2002 10:29:43 GMT
Small correction.
I am trying to use the replace task to remove the commas.
But the replace doesn't work and I get left with a 
<propertyfile>.temp file left in the directory.

Hope this means something?
Hope I not raising a known problem?

Thanks.
Stuart.

At 10:08 05/03/02 +0000, Stuart Barlow wrote:

>When incrementing a build number greater than 999
>I start to get , characters in the middle of my number.
>i.e. 1,000 or 500,234
>This causes trouble when I assign it to an integer in a
>java class.
>
>Is this the desired default behavior?
>Would it be better to make , formatting a special case.
>Is it possible to use the 'pattern' attribute to resolve this?
>
>At present I am using the replace task to remove all ,
>from property file afterwards.
>
>Thanks,
>Stuart.
>
>
>Stuart Barlow
>Tel: +44 131 468 8205
>*************************************************************************
>Information in this email is confidential and may be privileged. It is
>intended for the named addressee(s) only. If you have received it in
>error please notify the sender immediately and delete it from your
>system. You should not otherwise copy, retransmit, use or disclose its
>contents to anyone.
>*************************************************************************
>
>
>--
>To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>

Stuart Barlow
Tel: +44 131 468 8205
*************************************************************************
Information in this email is confidential and may be privileged. It is
intended for the named addressee(s) only. If you have received it in
error please notify the sender immediately and delete it from your
system. You should not otherwise copy, retransmit, use or disclose its
contents to anyone.
*************************************************************************


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


Mime
View raw message