ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Cody <paul.c...@lucida.com>
Subject RE: String translation/regex
Date Mon, 04 Mar 2002 21:28:21 GMT
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:mark@talios.com]
> 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
>           mark@talios.com - ICQ: 1934853 JID: talios@myjabber.net
> 
> --
> To unsubscribe, e-mail:   
> <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:ant-user-help@jakarta.apache.org>
> 

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


Mime
View raw message