Robin Porter <[EMAIL PROTECTED]> wrote:

> I currently have a tag in the file I am working on labeled clean
> which will delete a directory for me.  Can I add to the same clean
> tag a command to delete a file in another directory or do I have to
> create another tag all on its own to remove this extra file from
> another directory.

You can give multiple filesets to a single delete task, something
like this

<delete>
  <fileset dir="my-first-dir" />
  <fileset dir="my-other-dir">
    <include name="my-file" />
  </fileset>
</delete>

is going to remove my-first-dir and my-other-dir/my-file.

Stefan

Reply via email to