[jboss-dev-forums] [JBoss AS7 Development] - AS7 - deployments dir sharing question
lmcdasi
do-not-reply at jboss.com
Thu Jul 28 15:45:07 EDT 2011
lmcdasi [http://community.jboss.org/people/lmcdasi] created the discussion
"AS7 - deployments dir sharing question"
To view the discussion, visit: http://community.jboss.org/message/618219#618219
--------------------------------------------------------------
Hi,
I would like to know if there is a way to have the deployments directory configurable via an "envrionment" variable in AS7 or via other means rather than being static defined into the standalone.xml based on the "jboss.server.base.dir".
For example, if I pass -DHOST=${HOST} to the jboss startup && in the standalone.xml file I have path="deployments_${HOST}", then the ${HOST} is replaced via the enviroment variable at startup && the deployment path is changed accordingly.
BR,
Dan S.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/618219#618219]
Start a new discussion in JBoss AS7 Development at Community
[http://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/20110728/564f0594/attachment.html
More information about the jboss-dev-forums
mailing list