08-23-2018 09:59 AM
I'm using the process designer in Eclipse to develop and test my processes. How do I correctly set the path to the process definition files to the default source directory (src/main/resources/diagrams) that's used in Junit 4?
I've tried all sorts of variations, however the only solution I've found is to copy the process definition files into the test directory with just the name of the file declared in the Junit source file.
@Test
@Deployment(resources = { "ServiceTest.bpmn" })
public void test() {
This doesn't seem very satisfactory, especially as having bpmn files in this directory seems to stop the creation of deployment artifacts.
09-06-2018 07:23 AM
09-06-2018 07:23 AM
does this work?
@Deployment(resources = "diagrams/ServiceTest.bpmn")
09-15-2018 06:06 AM
Thanks, that works. Thought I'd tried that along with various other possibilities.
Explore our Alfresco products with the links below. Use labels to filter content by product module.