Java Mailing List Archive

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

Apache Ant Archive

» Ant Users List
» Ant Developers List
AW: How to use multiple filesets with classpath AND copy

AW: How to use multiple filesets with classpath AND copy

2005-06-13       - By Rick Mann
Reply:     1     2     3  


On Jun 13, 2005, at 02:34, <Jan.Materne@(protected)>  
<Jan.Materne@(protected)> wrote:

> A fileset has a common base directory. There are no nested filesets.
> Have you had a look at <path>s?
>
> There are some tasks which dont support <path>s, and <copy> is one  
> of them [1] - oh, there
> was some work ... maybe a nightly build would work :-)
>
> Alternatively you could iterate over filesets
>   <for param="fs.id" list="foodir,bardir">
>       <sequential>
>           <copy todir="...">
>               <fileset refid="@{fs.id}"/>
>           </copy>
>       </sequential>
>   </for>
>
>
> Jan
>
> [1] http://issues.apache.org/bugzilla/show_bug.cgi?id=20635

Thanks. Unfortunately, my whole team would need to upgrade, and they  
won't accept anything but a release build.

I really need a way to specify an arbitrary set of files under a  
single name, and then use that set in both class paths and copy  
operations.

I think nested filesets, et al. would work, along with support in the  
various tasks (like <copy>) for them.


--
Rick


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