ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: String manipulation in FileSets, FileLists: how ?
Date Tue, 30 Jul 2002 15:42:17 GMT
Or using <pathConvert> with it's <map> sub-element. It might actually do all
you need at the moment. --DD

-----Original Message-----
From: Stefan Bodewig [mailto:bodewig@apache.org] 
Sent: Tuesday, July 30, 2002 2:03 AM
To: ant-user@jakarta.apache.org
Subject: Re: String manipulation in FileSets, FileLists: how ?

On Thu, 25 Jul 2002, <sbi@pobox.com> wrote:

> I'd like to get a list of files (a FileSet, I suppose), do some
> String manipulation in it, like replace .java with .class, strip the
> beginning of each file path off etc.  The result should be used in
> another task.

Make your "another" task support a <mapper> would be an option.

Stefan

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