ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Kajsa (TLR Corp)" <Kajsa.Ander...@thomson.com>
Subject RE: Embedded Properties
Date Tue, 13 Apr 2004 15:07:43 GMT
http://ant.apache.org/faq.html#propertyvalue-as-name-for-property

-----Original Message-----
From: Nick_Gianakas@sybari.com [mailto:Nick_Gianakas@sybari.com]
Sent: Tuesday, April 13, 2004 10:05 AM
To: user@ant.apache.org
Subject: Embedded Properties


Is it possible to embed properties?
For example:

<property name="Type" value="Static" />

<property name="Lib.Name.Static" value="foo" />
<property name="Lib.Name.Dynamic" value="bar" />
<property name="Lib.Name" value="${Lib.Name.${Type}}" />

The result I'm looking for is Lib.Name=foo.  When I attempt this, Lib.Name 
isn't getting converted.
Any thoughts?

Regards,
Nick G.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message