Created attachment 1060242 [details] steps for reporduce Description of problem: when try to save a bpmn2 file which created by selecting BPMN2 Model in JBDS 8.1 will encounter:no targetnamespace defined Version-Release number of selected component (if applicable): BPMN2 Modeler plugin version 1.1.3.Final JBoss jBPM Core version 6.2.0.Final JBDS version 8.1.0 GA How reproducible: always Steps to Reproduce: 1.New jbpm project 2.New BPMN2 Model 3.Add start and end event into it and save it (also see attachment) Actual results: no targetnamespace defined error appear Expected results: no error and save successfully Additional info: It works for JBDS 7.1.1GA
The "New BPMN2 Model" wizard should not be used to generate jBPM Process files. This wizard is unrelated to Drools/jBPM and is contributed by the Eclipse BPMN2 Metamodel project - it does not know about Drools/jBPM and does not generate the necessary targetNamespace and other BPMN2 elements required by jBPM. Instead use either the Drools->New jBPM Process or JBPM->New jBPM Process wizards. Regardless, the "New BPMN2 Model" wizard has been removed from the BPMN2 category. The BPMN2 wizard category now contains only a "Generic BPMN2 Diagram" wizard which also does not create the required jBPM Process elements, but I can't remove this wizard because we can't simply assume the user has no need for it. If you want to create a jBPM Process file, use the "New jBPM Process" wizard!
Fix not available in jbds-9.0.0.CR2_jbdsis-9.0.0.Alpha2 or jbds-8.1.0.GA_jbdsis-8.0.4.CR1 yet .
By BPMN2 wizard can user now create 3 types of diagrams: process, collaboration and choreography. There is no error about missing namespace after completion of all of these wizards. Verified on jbdsis-8.0.5, BPMN2 Modeler 1.1.4.Final