ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Will Dyke <will.d...@bbc.co.uk>
Subject RE: deltree does not work
Date Thu, 01 Nov 2001 10:10:25 GMT
Is ${destdir.dir} defined? Run ant with -debug and -verbose
to see what is actually happening when the clean target
is executed, and check that ${destdir.dir} is actually 
expanded to a reasonable value. 

Will

> -----Original Message-----
> From: Gene Margolin [mailto:gmargolin@futuresource.com]
> Sent: 31 October 2001 19:59
> To: Ant Users List
> 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/future
> source/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>
> 


This e-mail, and any attachment, is confidential. If you have received
it in error, please delete it from your system, do not use or disclose
the information in any way, and notify me immediately. The contents of
this message may contain personal views which are not the views of the
BBC, unless specifically stated.

--
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