Red Hat Bugzilla – Bug 972979
Java (as, eap, ews) templates should not include a ROOT.war in the template
Last modified: 2015-05-14 19:21:20 EDT
Description of problem:
The jboss templates are including a ROOT.war in the template downloaded by the user. This should be a server side component only since it is built when the app is deployed.
To add it to the git repo is bad for a few of reasons:
1) It wastes git space
2) It promotes a bad habit of uploading wars
3) It's confusing. Implies I need to build my content before I push it.
Commit pushed to master at https://github.com/openshift/origin-server
Bug 972979: Don't include ROOT.war in initial Git repository
Checked on INT(devenv_3382),
For the new created jboss apps, there is no ROOT.war under $OPENSHIFT_JBOSS_DIR
[jbossasapp-domxq1.dev.rhcloud.com 599071435196410961592320]\> ls jbossas/template/deployments/
For the existing jbossews apps, the symlink under $OPENSHIFT_JBOSS_DIR/webapps is replaced by a real dir
[tomcat-bmeng1int.int.rhcloud.com 51ba916e6cec0e28b3000027]\> ls -l jbossews/|grep web
drwxr-xr-x. 2 51ba916e6cec0e28b3000027 51ba916e6cec0e28b3000027 4096 Jun 18 23:39 webapps
Move bug to verified.