Re: Deploying web apps from war file using different url path

2014-02-28 Thread paul
Thanks for that, I changed my pom file finalName to look like: myApp##${version} This is exactly what I wanted and now my web app in the url is just myApp. On Fri, February 28, 2014 2:56 am, Mark Thomas wrote: > On 28/02/2014 10:38, p...@kuruma.co.uk wrote: > >> Is there a way to redefine the w

Re: Deploying web apps from war file using different url path

2014-02-28 Thread Mark Thomas
On 28/02/2014 10:38, p...@kuruma.co.uk wrote: > Is there a way to redefine the web app path from within the war file so it > always deploys with the build and tomcat uses this instead of the name of > the warfile\webapp and there is no changes to the tomcat configuration? Use the version marker. i

Deploying web apps from war file using different url path

2014-02-28 Thread paul
I am trying to work out how I can build my war file and then deploy it using a different path. I have looked at the tomcat docs (specifically): The locations for Context Descriptors are: 1. $CATALINA_BASE/conf/[enginename]/[hostname]/[webappname].xml I want to be able to build a war file wit