This content has moved permanently to:
https://blog.jonm.dev/posts/auto-deploying-to-tomcat-from-cruisecontrol-with-maven/
Thursday, August 9, 2007
Auto-deploying to Tomcat from CruiseControl with Maven
Posted by Jon Moore at 2:02 PM
Tags: auto-deploy, cruisecontrol, deploy, maven, tomcat, tomcat deploy script, war
Subscribe to:
Post Comments (Atom)
1 comments:
From the more-than-one-way-to-skin-a-cat section, if you want your tomcat app to be the root context, but don't feel like naming it ROOT, you can set this in the app's context xml file:
[Context path="" docBase="/tmp/myFavorite.war" debug="0" crossContext="false"]
[/Context]
(change the [] to < >)
Just name the file myFavorite.xml and put it in the $CATALINA_HOME/conf/Catalina/localhost directory.
Just came across this tidbit.
I like the war named ROOT.war however :)
Post a Comment