Hi,
I would like to set the play id at runtime instead of the
webapplication reading the play id as a context-param in the web.xml.
The reason being is that we currently build a single war file and
deploy it to mutiple environments, where a system property set in each
environment is used accordingly. However in play i would need to build
a war file for each environment test,qa,staging etc however as we have
in the order of 10+ environments that would mean i would have to have
a war for each environment.
Looking at your code are you able to do modify the Servlet Wrapper to
something like
String playId= System.getProperty("
play.id");
if(playId == null) {
playId = e.getServletContext().getInitParameter("
play.id");
}