commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Giriraj Vengurleker" <>
Subject (Configuration) PropertyConfiguration.getProperty() does not inherit property value
Date Thu, 26 Apr 2007 21:38:33 GMT
I have a property file with an entry


And another property file which has

If I use the following code then the property does not get substituted:

Configuration config = new PropertiesConfiguration(dprops);
System.err.println ("Property Value as read in the Java applicatiion is : "
+ (String)config.getProperty("OUTPUT_DIR") );
If I use config.getString() then it gives me the property with the
INCA_BASE_DIR substituted correctly.

Is this an expected behavior?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message