You can:

1) write a <propertyfile> (optional task)
2) <replace> that (builtin)
3) read it back in with a <property file="myfile"> (builtin)

There may be other ways for doing this...?

Paul

> -----Original Message-----
> From: Mark Derricutt [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 04, 2002 1:23 PM
> To: Ant Users List
> Subject: String translation/regex
> 
> 
> I have a property thats set to "5.0.019" for a version 
> number, but cvs tags 
> don't allow .'s, is there a way to do a regex and change all 
> the .'s to _'s 
> from ant?
> 
>                                    -- \m/ --
>   "...if I seem super human I have been misunderstood." (c) 
> Dream Theater
>           [EMAIL PROTECTED] - ICQ: 1934853 JID: [EMAIL PROTECTED]
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to