ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: Ant newbie - simple question
Date Wed, 11 Jun 2003 14:43:18 GMT

After the classes directory is removed, you might just recreate it with
<mkdir> in some sort of initialization target.

Jon Culli

Senior Developer
Bank One (
Phone: 1-312-661-6354

Avery Marvin R <> on 06/11/2003 09:39:57 AM

Please respond to "Ant Users List" <>

To:   "'Ant Users List'" <>

Subject:  RE: Ant newbie - simple question

The problem is that it removes the classes dir (without the wildcard).
I dont want that, I just want to remove the subdirs.

-----Original Message-----
From: Bansemir, Carsten []
Sent: Wednesday, June 11, 2003 9:34 AM
To: Ant Users List
Subject: AW: Ant newbie - simple question

try it without any wildcards, that it should work fine (it does for me):

     <target name="clean">
          <delete dir="${dir_classes}"/>

-----Urspr√ľngliche Nachricht-----
Von: Avery Marvin R []
Gesendet: Mittwoch, 11. Juni 2003 16:30
An: 'Ant Users List'
Betreff: Ant newbie - simple question

First my complaint: this is trivial using make!

Now the question: Why does the following seemingly
simple and straight-forward ant xml
script _not_ remove the subdirs under the
classes dir (Windows NT OS)? Thanks in advance.

     <target name="clean">
          <delete dir="${dir_classes}/*"/>

NOTE: ** after the / doesn't work either!

Marvin Avery

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

This transmission may contain information that is privileged, confidential and/or exempt from
disclosure under applicable law. If you are not the intended recipient, you are hereby notified
that any disclosure, copying, distribution, or use of the information contained herein (including
any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error,
please immediately contact the sender and destroy the material in its entirety, whether in
electronic or hard copy format. Thank you.

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

View raw message