ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy Lambert <anto...@gmx.de>
Subject Re: How to apply mapper to filelist to get other fileset or filelist?
Date Wed, 08 May 2013 01:52:06 GMT
Hello Lev,

Ant has a concept of mapped resources.

Read this : http://ant.apache.org/manual/Types/resources.html#mappedresources

Best regards,

Antoine

On May 6, 2013, at 10:14 AM, Lev Serebryakov wrote:

> Hello, User.
> 
>  Is it possible to apply mapper to <filelist> to get other <filelist>
>  or, even better, <fileset>? For example, if I have list of classes
>  and root source dir,  how could I get <fileset> which contains all
>  source files? Something like this:
> 
> <fileset dir="${root}">
>  <filelist files="${list.of.classes}/>
>  <unpackagemapper from="*" to="*.java />
> </fileset>
> 
> But it doesn't work :(
> 
> -- 
> // Black Lion AKA Lev Serebryakov <lev@serebryakov.spb.ru>
> 
> 


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