Profiles activation

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, etc...).

# 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