ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bansemir, Carsten" <>
Subject Ant vs. Make (was AW: Ant newbie - simple question)
Date Wed, 11 Jun 2003 15:03:42 GMT
Sorry that i have to reply because this is not a ant discussion list, but I would like to understand
why "	$(RM) -f $(DIR_CLASSES)/* " is more readable than an XML file? The big pro of ant is,
that it's not as cryptical as (most) make-files are, and second it is more than an alternative
to Make ( just like Java (or C++) is more than an Alternative to C ) ... and both Java and
Ant are overdesigned and that makes sense, so i'm very happy that there are now modern Programming
Techniques wich are not designed on 20+ year old Hardware.

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

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 []
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:
For additional commands, e-mail:

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

View raw message