1.4.6.1. Profiles activation

Warning

You are looking at documentation for an older release. Not what you want? See the current release documentation.

An active profile list is obtained during the boot of the root container and is composed of the system property exo.profiles - a comma-separated list - and a server specific profile value (Tomcat for Tomcat, JBoss for JBoss, and more).

# runs GateIn on Tomcat with the profiles tomcat and foo
sh gatein.sh -Dexo.profiles=foo

# runs GateIn on JBoss with the profiles jboss, foo and bar
sh run.sh -Dexo.profiles=foo,bar
Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus