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.
Solved! Go to Solution.
does this work?
@Deployment(resources = "diagrams/ServiceTest.bpmn")
Thanks, that works. Thought I'd tried that along with various other possibilities.
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.