Robin Porter <[EMAIL PROTECTED]> wrote:

> I am trying to add to the below tag the code needed to delete some
> other files in other directories but do not seem to be having any
> luck.
> 
> <target name="clean" depends="init"> 
>        <delete dir="${outputDir}"/>
> </target>

<delete dir="${outputDir}">
  <fileset dir="my-other-dir">
    <include name="my-file" />
  </fileset>
</delete>

should work, as long as my-file is the relative filename of the file
with respect to my-other-dir.

> I have tried what was suggested yesterday but still this does not
> seem to work.

Why not?  What is going wrong?

> Do I need a separate tag all together or can it be added to my clean
> tag?

No.

Stefan

Reply via email to