ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scotte Zinn" <sz...@patronix.com>
Subject RE: Nested property expansion...
Date Mon, 07 Aug 2000 12:11:28 GMT
I don't know if there is a Java/Ant equivalent, but DMake had this nested
macro ability.  It made making multi-platform makefiles easy to do.  For
example, if you had different CFLAGS for each of the platforms, you would
use:

$(CFLAGS_$(PLATFORM))

-- Scotte

-----Original Message-----
From: David Weller [mailto:dgweller@yahoo.com]
Sent: Monday, August 07, 2000 5:48 AM
To: ant-user@jakarta.apache.org
Subject: Re: Nested property expansion...


> When Ant encounters a ${xyz} construct it looks up a property of the
> name xyz. It doesn't even try to see whether xyz holds ${} which could
> be translated again.
>
> And I really don't think I'd like to add it, there should always be a
> cleaner way to achieve the same result - a way that'd be far more
> readable. What would you really want to do with it? Do you have a real
> example?
>

No, I don't have a real example, and I'll accept your response -- until I
find
a really good reason it should exist, then I'll whine about it some more :-)



__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/


Mime
View raw message