ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: String translation/regex
Date Mon, 04 Mar 2002 21:43:56 GMT
In the nightly builds of Ant 1.5alpha there is a <replaceregexp> task.


----- Original Message -----
From: "Paul Cody" <paul.cody@lucida.com>
To: "'Ant Users List'" <ant-user@jakarta.apache.org>
Sent: Monday, March 04, 2002 4:28 PM
Subject: RE: String translation/regex


> 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>
>
>


--
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