Server Restart (Tomcat8) --> Customization deleted


#1

https://docs.camunda.org/manual/7.3/guides/user-guide/#tasklist-customizing-custom-scripts
describes how to add custom scripts / customizing.
We did just that (changed/added files, but no ‘grunt build’).
In a restarted “productive” dev system (7.6.4-ee) all changes made to app/tasklist/scripts/config.js (etc) are deleted.
Local DEV tomcat does not show this behaviour (tomcat restarts do not delete changes).

Any idea what the problem is?


#2

Where did you make the changes? In the WAR file or in the exploded directory?


#3

In the exploded directory.
Probably we will end up in this client project to clone the camunda webapps, make our changes there, then deploy the new WAR file.


#4

A common practice is to build an overlay with Maven, see https://maven.apache.org/plugins/maven-war-plugin/overlays.html. Then the artifact customization process is fully automated.


#5

Hey @hal
you can see a camunda specific example for what @thorben mentioned here https://github.com/camunda/camunda-consulting/tree/master/snippets/camunda-webapp-customized

Best
Felix


#6

Thanks Thorben and Felix for your hints. We implemented it that way - works very well