How to load bpmn.xml file with absolute path


#1

Hi,
Maybe someone knows the solution to my little issue :
I would like to load a bpmn.file using an absolute path (with java8 and Eclipse).
I tried the following but it doens’t work

Deployment deploy = repositoryService.createDeployment()
.addClasspathResource("/opt/myflow/bpmn.xml")
.deploy();

My goal is : let the user to modify the “bpmn.xml” file located outside the war file, so that there is no need to rebuild the war file.

Erixx


#2

have you solved this issue?