ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick_Giana...@sybari.com
Subject RE: Embedded Properties
Date Tue, 13 Apr 2004 19:10:10 GMT
Thanks.  While not ideal (I'd rather not depend on additional jars), it's 
more than I had a few hours ago.

Regards,
Nick G.





"Anderson, Kajsa (TLR Corp)" <Kajsa.Anderson@thomson.com>
04/13/2004 11:07 AM
Please respond to "Ant Users List"
 
        To:     "Ant Users List" <user@ant.apache.org>
        cc: 
        Subject:        RE: Embedded Properties


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




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


Mime
View raw message