ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vijay Gupta" <vij...@kanrad.com>
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"/>
          </fileset>
     </copy>
     <copy todir="${jspdist}" >
          <fileset dir="${src}/jsp" excludes="**/*.java">
               <exclude name=".scc"/>
          </fileset>
     </copy>
     <jar destfile="${jspdist}/Dispatcher.jar" basedir="${build}" includes
="com.kanrad.gpis.dispatcher/**"/>
    <!--delete dir="${build}"/-->
  </target>

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


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