Author: KrisVerlaenen
Date: 2010-10-01 09:30:35 -0400 (Fri, 01 Oct 2010)
New Revision: 25392
Modified:
trunk/bpmn/plugins/org.jboss.tools.jbpm/src/main/resources/org/jboss/tools/jbpm/wizard/project/ProcessLauncherSample.java.template
Log:
fixed jbpm5 example
Modified:
trunk/bpmn/plugins/org.jboss.tools.jbpm/src/main/resources/org/jboss/tools/jbpm/wizard/project/ProcessLauncherSample.java.template
===================================================================
---
trunk/bpmn/plugins/org.jboss.tools.jbpm/src/main/resources/org/jboss/tools/jbpm/wizard/project/ProcessLauncherSample.java.template 2010-10-01
13:19:53 UTC (rev 25391)
+++
trunk/bpmn/plugins/org.jboss.tools.jbpm/src/main/resources/org/jboss/tools/jbpm/wizard/project/ProcessLauncherSample.java.template 2010-10-01
13:30:35 UTC (rev 25392)
@@ -47,7 +47,7 @@
ProcessRuntimeFactory.setProcessRuntimeFactoryService(new
ProcessRuntimeFactoryServiceImpl());
BPMN2ProcessFactory.setBPMN2ProcessProvider(new BPMN2ProcessProviderImpl());
KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
- kbuilder.add(ResourceFactory.newClassPathResource("sample.bpmn"),
ResourceType.BPMN2);
+ kbuilder.add(ResourceFactory.newClassPathResource("sample.bpmn2"),
ResourceType.BPMN2);
return kbuilder.newKnowledgeBase();
}
Show replies by date