ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: Group of filesets
Date Mon, 15 Oct 2001 08:32:08 GMT
On Mon, 15 Oct 2001 17:48, Vojta Filip wrote:
> I have problem with filesets and copy. I have number of filest and a copy:
>
> <copy todir="dir" flatten="yes">
>   <fileset refid="fileset.1" />
>   <fileset refid="fileset.2" />
>   <fileset refid="fileset.3" />
>   ...
> </copy>
>
> Now I want to have another copy with the same filesets so I don't want to
> write list of filesets again and I want to do something like:
>
> <fileset id="fileset.group">
>   <fileset refid="fileset.1" />
>   <fileset refid="fileset.2" />
>   <fileset refid="fileset.3" />
> </fileset>
>
> <copy todir="dir" flatten="yes">
>   <fileset refid="fileset.group" />
> </copy>
>
> <copy todir="dir2" flatten="yes">
>   <fileset refid="fileset.group" />
> </copy>
>
>
> Is there in Ant any construct like this?

Unfortunately not but that is a useful construct. Would you mind registering 
it as a "Request for Enhancement" in Bugzilla ? ;) That way we wont forget to 
add it in time.

-- 
Cheers,

Pete

*-------------------------------------*
| Does the name `Pavlov' ring a bell? |
*-------------------------------------*


Mime
View raw message