values. We do not look into properties files as this is handled by the Properties class. You would have to subclass
the java.util.Properties class and then you can do what you
want in the load of the properties file.
xxxxxxxxxxxxxxxxxxxxxxxx Scott Stark Chief Technology Officer JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx
On Tue, 3 Jun 2003 08:22:27 +0200 "Eric Jain" <[EMAIL PROTECTED]> wrote:
I was wondering why property variables are interpolated in certain
places, but not in others. Consider this example:
jboss-service.xml:
<mbean code="org.jboss.varia.property.SystemPropertiesService" name="test.org:type=Service,name=SystemProperties" > <attribute name="Properties"> test.data.path=${jboss.home.dir}/data test.data.x.path=${test.data.path}/x </attribute> <attribute name="URLList"> ./conf/test.properties </attribute> </mbean>
test.properties
test.data.y.path=${jboss.home.dir}/y
Resulting values:
test.data.path=/work/jboss/data --> ok
test.data.x.path=null/data/x --> interpolated, but null
test.data.y.path=${jboss.home.dir}/data/y --> not interpolated
Are there any plans to make this behavior more consistant, or is there
any reasoning behind the current implementation?
-- Eric Jain
------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
