Sir it is
<target name="clean" depends="compile">
    <delete dir="destClass"/>
</target>

Wishes
Pritesh

-----Original Message-----
From: K.Srikumar [mailto:[EMAIL PROTECTED]
Sent: Monday, January 02, 2006 4:53 PM
To: Ant Users List
Subject: 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


The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to