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">
<delete>
<fileset dir="${build.dir}">
<fileset dir="${src.dir}" includes="/**.class">
</delete>
</target>
</project>
.... and the output, when I run ant (through build.sh) is:
me:~/multipi:./build.sh clean
Building with classpath :
Starting Ant...
Searching for build.xml ...
Buildfile: /home/sinnamon/multipi/build.xml
BUILD FAILED
/home/sinnamon/multipi/build.xml:88: Class
org.apache.tools.ant.types.FileSet
doesn't support the nested "fileset" element
Total time: 1 second
... the documentation, in the "Ant user manual", in html, regarding the
"delete"
task. seems to be incomplete, or out of date (or have I missed
something?).
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.
TIA,
James
--
James Sinnamon [EMAIL PROTECTED]
ph 07 46315566, 0412 319669
PO Box 517 Darling Heights QLD 4350