Thursday, August 9, 2007

Auto-deploying to Tomcat from CruiseControl with Maven

This content has moved permanently to:
https://blog.jonm.dev/posts/auto-deploying-to-tomcat-from-cruisecontrol-with-maven/

1 comments:

massiverobot said...

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 :)