[jboss-user] [jBPM] - Java Imports disappear from bpmn file when using eclipse editor

lakshmi sampath do-not-reply at jboss.com
Wed Mar 28 16:20:13 EDT 2012


lakshmi sampath [https://community.jboss.org/people/lakshmi.sampath] created the discussion

"Java Imports disappear from bpmn file when using eclipse editor"

To view the discussion, visit: https://community.jboss.org/message/727050#727050

--------------------------------------------------------------
Hi,

I am sure this might be a known bug.

Whenever I used eclipse editor to modify a bpmn flow, the java import statements disappear on save. Temporarily(painstakingly) I keep the imports in a file and open the bpmn in text editor and save it again .
Text in bold goes missing.  Is there a better workaround or a newer version of eclipse editor. I am using plugin that came with JBPM 5.1


<?xml version="1.0" encoding="UTF-8"?> 
<definitions id="Definition"
             targetNamespace=" http://www.jboss.org/drools http://www.jboss.org/drools"
             typeLanguage=" http://www.java.com/javaTypes http://www.java.com/javaTypes"
             expressionLanguage=" http://www.mvel.org/2.0 http://www.mvel.org/2.0"
             xmlns=" http://www.omg.org/spec/BPMN/20100524/MODEL http://www.omg.org/spec/BPMN/20100524/MODEL"
             xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation=" http://www.omg.org/spec/BPMN/20100524/MODEL http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd"
             xmlns:g=" http://www.jboss.org/drools/flow/gpd http://www.jboss.org/drools/flow/gpd"
             xmlns:bpmndi=" http://www.omg.org/spec/BPMN/20100524/DI http://www.omg.org/spec/BPMN/20100524/DI"
             xmlns:dc=" http://www.omg.org/spec/DD/20100524/DC http://www.omg.org/spec/DD/20100524/DC"
             xmlns:di=" http://www.omg.org/spec/DD/20100524/DI http://www.omg.org/spec/DD/20100524/DI"
             xmlns:tns=" http://www.jboss.org/drools http://www.jboss.org/drools">
  <itemDefinition id="_msgInputItem" structureRef="String" />
  <itemDefinition id="_nameItem" structureRef="String" />
  
  <process processType="Private" isExecutable="true" id="AppStatus" name="AppStatus" tns:packageName="com.bpmn2" >
*  <extensionElements>*
*      <tns:import name="java.util.List" />*
*     <tns:import name="org.slf4j.Logger" />*
*     <tns:import name="org.slf4j.LoggerFactory" />*
*    </extensionElements>*
    <!-- process variables -->
    <property id="msg" itemSubjectRef="_msgInputItem"/>
    <property id="name" itemSubjectRef="_nameItem"/>


thanks
lakshmi
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/727050#727050]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120328/701a61b4/attachment-0001.html 


More information about the jboss-user mailing list