ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 2915] New: - unexpected property values after loading a property file
Date Tue, 31 Jul 2001 05:10:53 GMT
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2915

*** shadow/2915	Mon Jul 30 22:10:53 2001
--- shadow/2915.tmp.6679	Mon Jul 30 22:10:53 2001
***************
*** 0 ****
--- 1,38 ----
+ +============================================================================+
+ | unexpected property values after loading a property file                   |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 2915                        Product: Ant                     |
+ |       Status: NEW                         Version: Nightly build           |
+ |   Resolution:                            Platform: Other                   |
+ |     Severity: Normal                   OS/Version: Other                   |
+ |     Priority: Other                     Component: Core tasks              |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: ant-dev@jakarta.apache.org                                   |
+ |  Reported By: mdub@bigfoot.com                                             |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ Given these build targets:
+ 
+     <property name="http.port" value="999" />
+     <property file="defaults.properties" />
+ 
+     <target name="main">
+         <echo message="port=${http.port}" />
+         <echo message="url=${http.url}" />
+     </target>
+ 
+ and the following defaults.properties
+ 
+   http.port = 80
+   http.url = http://localhost:${http.port}
+ 
+ the output is as follows:
+ 
+   main:
+      [echo] port=999
+      [echo] url=http://localhost:80
+ 
+ I expect ${http.url} to be "http://localhost:999" at this point.

Mime
View raw message