[
https://issues.jboss.org/browse/AS7-4109?page=com.atlassian.jira.plugin.s...
]
Brian Stansberry commented on AS7-4109:
---------------------------------------
Thanks, Ed.
Support for ${x.y} properties in deployment descriptors is a separate issue from this one.
I know there are a couple JIRAs related to it -- if you don't see one for the
descriptor you are interested in, please file a JIRA for that!
The AS supports ${x.y} properties for many elements in the
domain.xml/host.xml/standalone.xml config files. Basically ones where there is a clear use
case. However, I'm sure there are other elements/attributes where people would like to
see support. This JIRA is for a specific one of those.
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