[
https://issues.jboss.org/browse/AS7-4109?page=com.atlassian.jira.plugin.s...
]
Brian Stansberry updated AS7-4109:
----------------------------------
Assignee: Brian Stansberry
Fix Version/s: 7.1.2.Final
I'm putting this on the 7.1.2 roadmap to track it for consideration. I'm making no
promises about getting it done though.
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
Components: Domain Management
Affects Versions: 7.1.0.Final
Reporter: Marko Strukelj
Assignee: Brian Stansberry
Fix For: 7.1.2.Final
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