ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Sinnamon <>
Subject FileSet doesn't support the nested "fileset" element
Date Tue, 06 Mar 2001 07:54:25 GMT
I am having trouble in trying to create a "clean" target.  .  The
relevant section of
build.xml is below:

<!-- ===================================================================
  <!-- Clean
targets                                                       -->
=================================================================== -->
  <target name="clean" depends="init">
     <fileset dir="${build.dir}">
     <fileset dir="${src.dir}" includes="/**.class">

....  and the output, when I run ant (through is:

me:~/multipi:./ clean

Building with classpath :

Starting Ant...

Searching for build.xml ...
Buildfile: /home/sinnamon/multipi/build.xml


/home/sinnamon/multipi/build.xml:88: Class
doesn't support the nested "fileset" element

Total time: 1 second

... the documentation, in the "Ant user manual",  in html, regarding the
task. seems to be incomplete, or  out of date (or have I missed

Would someone be able to tell me what I am doing wrong,
and, also , if possible, supply me with an example of a workable
"delete" task.



James Sinnamon

ph 07 46315566,  0412 319669
PO Box 517 Darling Heights QLD 4350

View raw message