SDK root HTML folder

Hello All Just a simple Question (I hope :slight_smile: ) โ€“ how do I change the root folder on the SDK from


I gather it must be a tomcat setting ? I am running just a stock standard SDK of OpenMRS v2.6 Thanks in advance Regards


If you use a docker config generated by SDK to run your server, then itโ€™s pretty simple. You just modify one line in web/Dockerfile COPY openmrs.war /usr/local/tomcat/webapps/openmrs.war to COPY openmrs.war /usr/local/tomcat/webapps/ROOT.war

On the other hand, if you want to run the server with openmrs-sdk:run, it is not supported yet. Youโ€™d have to make a pull request to SDK by making the context path a variable e.g. mvn openmrs-sdk:run -DcontextPath=/ and using that variable in If youโ€™d like to work on that, please create an issue in JIRA first.

My install is of the openmrs-sdk:run variety - its not that big of a priority - thanks for your help