AnsweredAssumed Answered

Activiti [5.17.0] Modeler : context Root change not supported

Question asked by skay on Feb 15, 2015
Latest reply on Feb 28, 2015 by jbarrez
Hi,

The new Activiti Modeler (5.17.0) is wonderful, but does not support changing activiti-explorer.war Context Root :(

- Change the name of the application activiti-explorer.war into myactiviti-explorer.war
- Deploy into your container
- Log in / Go to Workbench / new model.
- Modeler cannot display any component/tool/image.

Indeed, context root has been hard coded into a javascript config file :

activiti-explorer.war\editor-app\app-cfg,js

var ACTIVITI = ACTIVITI || {};

ACTIVITI.CONFIG = {
   'contextRoot' : '/activiti-explorer/service',
};

Could this change to something a little more transparent ?
To clarify with a minimal change : this configuration point could be centralized to some file located in WEB-INF/classes

Best Regards

Outcomes