[jboss-dev-forums] [JBoss AS 7 Development] - Re: Variable Expansion Environment Specific
Tomaz Cerar
do-not-reply at jboss.com
Thu Aug 16 07:47:54 EDT 2012
Tomaz Cerar [https://community.jboss.org/people/ctomc] created the discussion
"Re: Variable Expansion Environment Specific"
To view the discussion, visit: https://community.jboss.org/message/754000#754000
--------------------------------------------------------------
Hi,
expression support (aka variable expansion) support is not universal, as it is supported only in contexts that allow that.
you are looking for expression support for use in standard descriptors aka ejb-jar.xml
support for that is not enabled by default, but you can enable it by editing standalone.xml
and finding ee subsystem where you should set element "spec-descriptor-property-replacement" to true
for example:
> <subsystem xmlns="urn:jboss:domain:ee:1.1">
> *<spec-descriptor-property-replacement>true</spec-descriptor-property-replacement>*
> <jboss-descriptor-property-replacement>true</jboss-descriptor-property-replacement>
> </subsystem>
p.s.
as you did not mention what version you use, this feature works only in 7.1.1 and has been improved in later versions.
--
tomaz
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/754000#754000]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120816/7f12fa2c/attachment.html
More information about the jboss-dev-forums
mailing list