[EMAIL PROTECTED] schrieb:
I am using the latest commons configuration with JDK1.6.

Could I do the following property replacement using the
PropertyConfigufrator?

  propA=value1
  propB=value2
  propA.value2.custom=111
  prop.custom=${propA.${propB}.custom}

Thanks!

/U

I think, this is not possible.

Internally configuration uses the StrSubstitutor class from commons lang [1] for replacing variables. This class does not seem to support nested variables.

Oliver

[1] http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/java/org/apache/commons/lang/text/StrSubstitutor.java?view=markup

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

Reply via email to