ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vojta Filip <vo...@idoox.com>
Subject Group of filesets
Date Mon, 15 Oct 2001 07:48:28 GMT

Hi,
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?

  Vojta



Mime
View raw message