ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Mark Bram <relaxed...@optusnet.com.au>
Subject Question about use of property files
Date Tue, 22 Jun 2004 17:09:28 GMT
Hi All!

I have been trying out property files like this:
    <property file="${conf}/${os.name}.properties"/>
    <property file="${conf}/default.properties"/>

With values like this:
policy=${conf}/policy.all

My problem is that when they come out in Windows, the path separators are 
incorrect. For example:
F:\java\jiniHelloWorld\conf/policy.all

This problem is avoided when the property is declared as a location within 
the xml file.. is there a way I can do the same for a property that is 
declared in an external property file?

Thanks for any advice!

Rob
:)
-- 
Robert Mark Bram
B.Comp.(Systems Development/Business Systems)
B.Net.Comp.(Hons)
Doctor of Philosophy Student

School of Network Computing
Faculty of Information Technology
Monash University
Peninsula Campus
McMahons Rd
Frankston, VIC 3199
AUSTRALIA

Phone:  61 3 9904 4394
Facsimile:  61 3 9904 4124
Email: robert.mark.bram@infotech.monash.edu.au


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


Mime
View raw message