ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: Token replacing in a property
Date Wed, 19 Nov 2003 10:40:45 GMT
- Using AntContribs <propertyregex/>
- writing to a file (<echo>), modify that file (<replaceregexp/>) and read
that (<property>)
- Using <script>


Jan



> -----Original Message-----
> From: Roman Rytov [mailto:rrytov@entopia.com]
> Sent: Wednesday, November 19, 2003 11:35 AM
> To: Ant Users List
> Subject: Token replacing in a property
> 
> 
> How to replace a token in a property (obviously by producing a new
> property). Let's say I have a property X="a@b@c". Can I 
> replace @b@ to B
> and create a property Y ="aBc"? I know a way to do it through 
> a property
> file but is there a way to do it directly in memory?
> 
> 
> RR
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message