Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 69771 invoked from network); 4 Mar 2002 21:47:44 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 4 Mar 2002 21:47:44 -0000 Received: (qmail 27166 invoked by uid 97); 4 Mar 2002 21:47:39 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 27091 invoked by uid 97); 4 Mar 2002 21:47:39 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 27080 invoked from network); 4 Mar 2002 21:47:38 -0000 Message-ID: From: "Peterson, Brian" To: "'Ant Users List'" Subject: RE: How to use literal property access string? Date: Mon, 4 Mar 2002 15:47:35 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N In general, $$ means translates to a single $ which will not be interpreted as the possible start of a property, so use: brian peterson brian.peterson@westgroup.com | -----Original Message----- | From: Jeffrey Jensen [mailto:JJENSEN@agribank.com] | Sent: Monday, March 04, 2002 3:42 PM | To: ant-user@jakarta.apache.org | Subject: How to use literal property access string? | | | Hi, | | There is a situation where I want to use "${property.name}" instead of | the value it stands for. How do I tell Ant to not interpret it? | | For example, I want | | | to say ${theproperty} instead of "thevalue". | | This works when the property was never set. I understand that | "unsetting" a property is a feature that Ant does not have. | | I know that a in an overrides a property of the same | name, but I don't think there is a magic value to set it to for the | called target to think it is not set. | | I know that using inheritAll="false" on does exactly what I | want, except for all properties. | | Is there an "escape code" or other such thing to specify a literal | string vs interpreting it? | | -- | To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: