2 Replies Latest reply on Apr 2, 2012 1:34 AM by lakshmi.sampath

    Java Imports disappear from bpmn file when using eclipse editor

    lakshmi.sampath

      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"
                   typeLanguage="http://www.java.com/javaTypes"
                   expressionLanguage="http://www.mvel.org/2.0"
                   xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                   xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd"
                   xmlns:g="http://www.jboss.org/drools/flow/gpd"
                   xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
                   xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
                   xmlns:di="http://www.omg.org/spec/DD/20100524/DI"
                   xmlns:tns="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