Marko Strukelj created AS7-4109:
-----------------------------------
Summary: Ability in standalone.xml and other configuration files to set
system-properties/property by referring to other system properties or ENV properties
Key: AS7-4109
URL:
https://issues.jboss.org/browse/AS7-4109
Project: Application Server 7
Issue Type: Feature Request
Reporter: Marko Strukelj
The following standalone.xml entry:
{code:xml}
<server>
...
<system-properties>
<property name="test.acme.conf.dir"
value="${jboss.server.config.dir}/acme"/>
<property name="test.acme.data.dir"
value="${env.PWD}/../standalone/data/acme"/>
<property name="test.acme.db.dir"
value="${test.acme.data.dir}/db"/>
</system-properties>
...
</server>
{code}
produces the following system properties:
test.acme.conf.dir=${jboss.server.config.dir}/acme
test.acme.data.dir=${env.PWD}../standalone/data/acme
test.acme.db.dir=${test.acme.data.dir}/db
I would expect property references to be resolved - i.e.:
test.acme.conf.dir=/opt/jboss-as-7.1.0.Final/standalone/configuration/acme
test.acme.data.dir=/opt/jboss-as-7.1.0.Final/bin/../standalone/data/acme
test.acme.db.dir=/opt/jboss-as-7.1.0.Final/bin/../standalone/data/acme/db
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira