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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to