ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gene Margolin <gmargo...@futuresource.com>
Subject Re: deltree does not work
Date Wed, 31 Oct 2001 20:24:26 GMT
I've changed "deltree" by "delete".
The same result.
No error messages.
All directories are still here.

Gene.

T Master wrote:

> 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" <gmargolin@futuresource.com>
> To: "Ant Users List" <ant-user@jakarta.apache.org>
> 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:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message