Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » MDT (Model Development Tools) » [BPMN2](help)
[BPMN2] [message #896305] Tue, 17 July 2012 23:51
Rossano Fiore is currently offline Rossano FioreFriend
Messages: 1
Registered: July 2012
Junior Member
Hello henning,
I'm trying to make a translation with ATL "bpmn2toCTLS", I have problems in the metamodel "BPMN2": I downloaded "bpmndi.ecore" and "bpmn20.ecore", "bpmndi.ecore" contains "bpmn20" and classes that specify diagrams, if I take as input a model "xmi" arising from "bpmn2 diagram editor", then I make the transformation "atl" that returns a file "xmi" empty, then check the "console" and there are no errors, it is only classes that are not recognized?
I do not understand, I attach the changes and "Ecore"

"atl" code:

module definitivo3;
create OUT : ctls from IN : bpmn2;

rule start2fork {
j : bpmn2!StartEvent
u : ctls!Fork

rule bounds2fork {
c : bpmn2!Bounds
a : ctls!Fork

bpmn model input:

<?xml version="1.0" encoding="UTF-8"?>
<bpmn2:definitions targetNamespace="http: // drools" xmlns:xsi="http:// 2001/XMLSchema-instance" xmlns:bpmn2= "http://" xmlns:bpmndi= "http://" xmlns:dc= "http://" xmlns:tns= "http://" xsi:schemaLocation= "http:// BPMN20.xsd" id="Definitions_1">
<bpmn2:process id="Process_1" tns:version="1" tns:packageName="defaultPackage">
<bpmn2:startEvent id="StartEvent_1"/>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_Process_1" bpmnElement="Process_1">
<bpmndi:BPMNShape id="BPMNShape_StartEvent_1" bpmnElement="StartEvent_1">
<dc:Bounds height="36.0" width="36.0" x="192.0" y="132.0"/>

xmi file output:

<?xml version="1.0" encoding="ISO-8859-1"?>
<xmi:XMI xmi:version="2.0" xmlns:xmi= "http: //"/>

waiting for you
  • Attachment: BPMNDI.ecore
    (Size: 9.90KB, Downloaded 446 times)
Previous Topic:[BPMN2]Can NOT Import another bpmn2 file
Next Topic:[BPMN2] Improper QName resolve
Goto Forum:

Current Time: Tue Jul 23 02:05:10 GMT 2024

Powered by FUDForum. Page generated in 0.02925 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top