ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rodrigo Monteiro" <mrodri...@gmail.com>
Subject Re: String manipulation
Date Wed, 25 Oct 2006 18:35:46 GMT
Hi Scot,

On 10/25/06, Scot P. Floess <floess@mindspring.com> wrote:
> Ant contrib has a nice propertyregex task if you need to do regular
> expressions.
>
> However, if this property contains a path and file name (which I believe
> is the case), try the basename task.

<basename property="name" file="${dir}" suffix="/" />

It's what I was looking for.
Thanks!

Rodrigo.




-- 
Rodrigo Monteiro
"Free as in Freedom, not free as in free beer"
Linux User # 403730
JID: mrodrigom@jabber.org
mrodrigox@gmail.com

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


Mime
View raw message