ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chaudhuri, Hiran" <Hiran.Chaudh...@softwareag.com>
Subject Task processing a DirSet one by one?
Date Mon, 21 Aug 2006 10:02:41 GMT
Hi there.

I have a directory with several subdirectories. Each subdirectory shall
be zipped up in its own file.
As the number of subdirectories can vary, I do not want to code each zip
task explicitly but rather use a loop with a DirectorySet.

Which Ant task can process a Directory/FileSet and call another task
(here zip) for each entry found?

directory/subdir1 -> subdir1.zip
directory/subdir2 -> subdir2.zip
...

Hiran Chaudhuri

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