Tom Muldoon wrote:
> I'm trying to use variable interpolation to resolve system properties
> with XMLConfiguration and/or PropertiesConfiguration and I'm coming up
> empty. Using the following property file ...
> 
> foobar=${foo}bar
> 
> ... and/or
> 
> foobar=${sys:foo}bar
> 
> ... does not work. In other words, the "foo" system property does not
> get resolved. Shouldn't it?
> 
> Thanks in advance, Tom
> 

Which version of Commons Configuration do you use?

The latter syntax with ${sys:foo} should work if you use a recent
nightly build (this feature was implemented just a few days ago).

Oliver

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to