ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject RE: Novice with ANT- Can't delete a dir
Date Mon, 02 Jan 2006 11:27:36 GMT

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


-----Original Message-----
From: K.Srikumar []
Sent: Monday, January 02, 2006 4:53 PM
To: Ant Users List
Subject: Novice with ANT- Can't delete a dir

  I just started working with ANT....
  <project name="compile" default="compile" basedir=".">
<target name="compile">
<mkdir dir="destClass" />
<javac srcdir="src" destdir="destClass" />
  <target name="clean" depends="compile">
<rmdir dir="destClass" />
  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.

:)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.

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

View raw message