In make:

        $(RM) -f $(DIR_CLASSES)/*

end of story! Works every time!

As for ant, what the heck is the "delete dir" construct
used/useful for if it can't do this???

Marvin Avery

-----Original Message-----
From: peter reilly [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 11, 2003 9:43 AM
To: Ant Users List
Subject: Re: Ant newbie - simple question


On Wednesday 11 June 2003 15:30, Avery Marvin R wrote:
> First my complaint: this is trivial using make!

what is the command in make
and why cannot one use it in ant?

>
> 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}/*"/>
>       </target>
>
> NOTE: ** after the / doesn't work either!
>
> Marvin Avery


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

Reply via email to