AnsweredAssumed Answered

Deploy overridden web.xml to packed alfresco.war

Question asked by matt.thomas on Oct 6, 2008
Latest reply on Oct 6, 2008 by matt.thomas

I am customising my application by adding new Servlets for auditing and need to deploy my modified web.xml file to the alfresco.war. I was wondering, is there a better way to do this than:

1)build alfresco.war
2) start tomcat to unpack alfresco.war
3) stop tomcat
4) copy web.xml into webapps/alfresco/WEB-INF/
5) start tomcat

each and every time I need to deploy a code change.

This process is frustrating and time consuming in development.

I tried zipping up the unzipped tomcat directory, renaming as war and using that as the alfresco.war, but this doesn't work

I tried creating a mapping in to copy the contents of a local WEB-INF directory, but that totally screwed things up.


How do people normally modify and deploy the web.xml file?

Many thanks