[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ant-user
Subject:    RE: String manipulation in FileSets, FileLists: how ?
From:       Dominique Devienne <DDevienne () lgc ! com>
Date:       2002-07-30 15:42:17
[Download RAW message or body]

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>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic