Author Message
MichaelNorman
Joined: Jun 3, 2015
Messages: 448
Offline
Sorry for digging up my old thread, but I am circling back around to this issue. I am still trying to refine the build process external to OD. I know that the context.xml comes from the local installation of Tomcat on your dev machine, but what creates that file in the first place? If I am pushing code up to a repository, and building from there for deployment, I wouldn't have access to that context.xml, so I assume it is going to have to be re-created. How can this be done outside the OD environment?
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
The context.xml gets re-created in code during the Export process. For your external build process, you may consider grabbing the file from the Tomcat/conf/catalina/localhost directory and make sure you change the basedir attribute. You can put this file in a certain place for the build.
Go to:   
Mobile view