ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 21684] - sysproperty fails when using a properties file
Date Tue, 22 Jul 2003 06:31:12 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21684>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

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

sysproperty fails when using a properties file





------- Additional Comments From antoine@apache.org  2003-07-22 06:31 -------
instead of 
<sysproperty file="Test.properties"/> 
you should have

<sysproperty key="somekey" file="Test.properties"/> 

the semantics of this is not like <property file="Test.properties"/>

it means really create a system property called "somekey" whose value is the 
location of "Test.properties" resolved by ant (that is with the project base dir 
prepended to the file name when it is not absolute).

the problem is that there should be a check that sysproperties are valid when 
they get added.

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


Mime
View raw message