Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Creating property using regular expression on string/property value

Creating property using regular expression on string/property value

2003-02-16       - By Martin
Reply:     1     2  

Could I look at the regexp statement you are using?
-Martin

----- Original Message -----
From: "Tony Obermeit" <tonyob@(protected)>
To: <ant-user@(protected)>
Sent: Sunday, February 16, 2003 5:02 PM
Subject: Creating property using regular expression on string/property value


> I have a property value that I want to use for part of a file name but the
> property value sometimes includes spaces that I don't want to include in
> the filename.  I am looking to create a new property value but apply a
> regular expression to an existing property value when I create it.  The
> examples I've seen seem to do this with replacing tokens within an
existing
> file, I want to do it effectively within a string in my build script.
>
> Thanks
>
> Tony
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.