You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "K.Srikumar" <ph...@yahoo.com> on 2006/01/02 12:23:28 UTC

Novice with ANT- Can't delete a dir

hai,
  I just started working with ANT....
  ==========================================
  <project name="compile" default="compile" basedir=".">
  
<target name="compile">
<mkdir dir="destClass" /> 
<javac srcdir="src" destdir="destClass" /> 
</target>
   
  <target name="clean" depends="compile">
<rmdir dir="destClass" />
</target>
   
  </project>
  =============================================
  The pink text is the problem maker..............
  The directory creation is working fine, but the second target of deletion isnt working properly.
  Please correct my code.
   
  bye
   


:)K  .  S  R  I  K  U  M  A  R
		
---------------------------------
Yahoo! Shopping
 Find Great Deals on Holiday Gifts at Yahoo! Shopping