How to load bpmn.xml file with absolute path

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

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.


have you solved this issue?