ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vijay Gupta" <>
Subject RE: VSS Problem
Date Fri, 27 Apr 2001 08:00:40 GMT

Hi all,

     now everything works fine, but i have one more question.  I have two
task 'dist' and 'delete', 'delete' task depends on 'dist' task. in delete i
am trying to delete build directory that is created while making the build.
But it does not delete the directory, and if i delete the build directory
in dist itself it works fine.  what can be the problem? is there any way to
get it work in a different task.  a snapshot of tasks is following:

  <target name="dist" depends="compile" description="Generate the
distribution" >
     <copy todir="${javadist}" >
          <fileset dir="${build}" >
               <exclude name="**/*.java"/>
     <copy todir="${jspdist}" >
          <fileset dir="${src}/jsp" excludes="**/*.java">
               <exclude name=".scc"/>
     <jar destfile="${jspdist}/Dispatcher.jar" basedir="${build}" includes
    <!--delete dir="${build}"/-->

  <target name="delete" depends="dist" description="Clean up" >
    <!-- Delete the ${build} directory tree -->
    <delete dir="${build}"/>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message