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: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to