Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 40197 invoked from network); 7 Aug 2000 12:12:55 -0000 Received: from cr102266-a.ktchnr1.on.wave.home.com (HELO gateway.patronix.com) (qmailr@24.114.144.198) by locus.apache.org with SMTP; 7 Aug 2000 12:12:55 -0000 Received: (qmail 17198 invoked from network); 7 Aug 2000 12:10:57 -0000 Received: from unknown (HELO mocha) (192.168.0.129) by 192.168.0.100 with SMTP; 7 Aug 2000 12:10:57 -0000 From: "Scotte Zinn" To: Subject: RE: Nested property expansion... Date: Mon, 7 Aug 2000 08:11:28 -0400 Message-ID: <007501c00068$9e5d7e60$0100000a@patronix.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20000807094730.18689.qmail@web704.mail.yahoo.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N 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/