ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 1737] New - Add ability to define a property with respect to another (property dereferencing)
Date Mon, 14 May 2001 11:03:52 GMT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1737

*** shadow/1737	Mon May 14 04:03:51 2001
--- shadow/1737.tmp.14474	Mon May 14 04:03:52 2001
***************
*** 0 ****
--- 1,37 ----
+ +============================================================================+
+ | Add ability to define a property with respect to another (property derefer |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 1737                        Product: Ant                     |
+ |       Status: NEW                         Version: 1.3                     |
+ |   Resolution:                            Platform: All                     |
+ |     Severity: Enhancement              OS/Version: All                     |
+ |     Priority: Medium                    Component: Core tasks              |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: ant-dev@jakarta.apache.org                                   |
+ |  Reported By: elod@itfais.com                                              |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ add ability to define the value of a property by dereferencing another 
+ property.  For example, with the following property  definitions:
+ 
+ bligga.blah=foo
+ bligga.bleen=foo2
+ bloogga.blah=bar
+ bloogga.bleen=bar2
+ the_selector=bloogga
+ 
+ i'd like to be able to define a property in the project something like this:
+ 
+ <property name="blah" deref="${the_selector}.blah"/>
+ 
+ the value of property "blah" here would be "bar"
+ 
+ alternatively/additionally, there should be a way to dereference properties 
+ directly in attributes (this is essentially a recursive resolution of  
+ properties).  for example, maybe a syntax like this:
+ 
+ 
+ <sometag someattribute="${${the_selector}}.blah"/>

Mime
View raw message