1.
    <deltree dir="${destdir.dir}/com/futuresource/jmaf/charts/*.class"/>

2.  I have never used deltree.   I use <delete> to delete a directory
including subdirs.
Look it up in the manual.


----- Original Message -----
From: "Gene Margolin" <[EMAIL PROTECTED]>
To: "Ant Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, October 31, 2001 12:58 PM
Subject: deltree does not work


> Hi.
>
> Here is my xml ant file. By some reason target "clean" does not work.
> All directories which have to be deleted by that target are not deleted.
> What's wrong in my project?
>
> Thank you in advance.
>
> Gene.
>
>
> <!-- Jmaf build file -->
>
> <project name="jmaf" default="compile" basedir=".">
>   <property name="src.dir" value="ant/java"/>
>   <property name="build.dir" value="ant/java_classes"/>
>   <property name="dist.dir" value="ant/java_build"/>
>   <property name="build.compiler" value="classic"/>
>   <property name="ant.home" value="ant"/>
>
>    <target name="compile">
>     <mkdir dir="${build.dir}"/>
>     <deltree dir="${src.dir}/com/futuresource/jmaf/charts/tests"/>
>
>     <!-- NewsWatch -->
>     <mkdir dir="${build.dir}/NewsWatch"/>
>     <javac
>         srcdir="${src.dir}"
>         destdir="${build.dir}/NewsWatch"
>
classpath="${src.dir}/env/extern;${src.dir}/jars/capsapi_classes.zip"
>
>
includes="com/futuresource/newswatch/NewsWatch.java,com/futuresource/jmafkit
/quantum/QuantumSession.java"
>
>         debug="off"
>         optimize="off"
>     />
>   </target>
>
>   <target name="clean" depends="compile">
>     <deltree dir="${destdir.dir}/com/futuresource/jmaf/charts/util"/>
>     <deltree dir="${destdir.dir}/com/futuresource/jmaf/charts/*.class"/>
>     <deltree dir="${destdir.dir}/com/futuresource/jmaf/lang/expression"/>
>     <deltree dir="${destdir.dir}/com/futuresource/jmaf/tuple"/>
>   </target>
>
> </project>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to