|
|
|
|
|
|
Re: the error of runing ATL transformations in Java [message #1053058 is a reply to message #1053049] |
Thu, 02 May 2013 09:25 |
yesheng chai Messages: 64 Registered: March 2013 |
Member |
|
|
hello,
I have check that have correctly loaded "MARTE.profile.uml" as an input model (of your transformation) which conforms to the UML metamodel.
However,the error is :Package with uri 'http://www.eclipse.org/papyrus/GQAM/1' not found.
The following is my uml model:
<?xml version="1.0" encoding="UTF-8"?>
<xmi:XMI xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:GQAM="http://www.eclipse.org/papyrus/GQAM/1" xmlns:PAM="http://www.eclipse.org/papyrus/PAM/1" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xsi:schemaLocation="http://www.eclipse.org/papyrus/GQAM/1 http://www.eclipse.org/papyrus/MARTE/1#//GQAM http://www.eclipse.org/papyrus/PAM/1 http://www.eclipse.org/papyrus/MARTE/1#//PAM">
<uml:Model xmi:id="_MPs1EKyKEeKPKesk8xj-aQ" name="model">
<packagedElement xmi:type="uml:Activity" xmi:id="_MUKeUKyKEeKPKesk8xj-aQ" name="Activity1"/>
<packagedElement xmi:type="uml:Actor" xmi:id="_pB9fgKyKEeKPKesk8xj-aQ" name="Actor"/>
<packagedElement xmi:type="uml:UseCase" xmi:id="_qNrrwKyKEeKPKesk8xj-aQ" name="UseCase" classifierBehavior="_Wfi3wKyLEeKPKesk8xj-aQ">
<ownedBehavior xmi:type="uml:Activity" xmi:id="_Wfi3wKyLEeKPKesk8xj-aQ" name="Activity1" node="_YLZ8oKyLEeKPKesk8xj-aQ _c8_cUKyLEeKPKesk8xj-aQ _gaNxIKyLEeKPKesk8xj-aQ _k2P3kKyLEeKPKesk8xj-aQ _pzbjQKyLEeKPKesk8xj-aQ _qShTAKyLEeKPKesk8xj-aQ _q5WpgKyLEeKPKesk8xj-aQ _vO9-4KyLEeKPKesk8xj-aQ _x9Ej4KyLEeKPKesk8xj-aQ _1U-64KyLEeKPKesk8xj-aQ">
<edge xmi:type="uml:ControlFlow" xmi:id="_e9rhsKyLEeKPKesk8xj-aQ" name="ControlFlow1" source="_YLZ8oKyLEeKPKesk8xj-aQ" target="_c8_cUKyLEeKPKesk8xj-aQ">
<guard xmi:type="uml:LiteralBoolean" xmi:id="_e9rhsayLEeKPKesk8xj-aQ" value="true"/>
<weight xmi:type="uml:LiteralInteger" xmi:id="_e9rhsqyLEeKPKesk8xj-aQ"/>
</edge>
<edge xmi:type="uml:ControlFlow" xmi:id="_i9JA4KyLEeKPKesk8xj-aQ" name="ControlFlow2" source="_c8_cUKyLEeKPKesk8xj-aQ" target="_gaNxIKyLEeKPKesk8xj-aQ">
<guard xmi:type="uml:LiteralBoolean" xmi:id="_i9JA4ayLEeKPKesk8xj-aQ" value="true"/>
<weight xmi:type="uml:LiteralInteger" xmi:id="_i9JA4qyLEeKPKesk8xj-aQ"/>
</edge>
<edge xmi:type="uml:ControlFlow" xmi:id="_l6Y1IKyLEeKPKesk8xj-aQ" name="ControlFlow3" source="_gaNxIKyLEeKPKesk8xj-aQ" target="_k2P3kKyLEeKPKesk8xj-aQ">
<guard xmi:type="uml:LiteralBoolean" xmi:id="_l6Y1IayLEeKPKesk8xj-aQ" value="true"/>
<weight xmi:type="uml:LiteralInteger" xmi:id="_l6Y1IqyLEeKPKesk8xj-aQ"/>
</edge>
<edge xmi:type="uml:ControlFlow" xmi:id="_sGRIkKyLEeKPKesk8xj-aQ" name="ControlFlow4" source="_gaNxIKyLEeKPKesk8xj-aQ" target="_q5WpgKyLEeKPKesk8xj-aQ">
<guard xmi:type="uml:LiteralBoolean" xmi:id="_sGRIkayLEeKPKesk8xj-aQ" value="true"/>
<weight xmi:type="uml:LiteralInteger" xmi:id="_sGRIkqyLEeKPKesk8xj-aQ"/>
</edge>
<edge xmi:type="uml:ControlFlow" xmi:id="_s01ewKyLEeKPKesk8xj-aQ" name="ControlFlow5" source="_k2P3kKyLEeKPKesk8xj-aQ" target="_pzbjQKyLEeKPKesk8xj-aQ">
<guard xmi:type="uml:LiteralBoolean" xmi:id="_s01ewayLEeKPKesk8xj-aQ" value="true"/>
<weight xmi:type="uml:LiteralInteger" xmi:id="_s01ewqyLEeKPKesk8xj-aQ"/>
</edge>
<edge xmi:type="uml:ControlFlow" xmi:id="_tepQwKyLEeKPKesk8xj-aQ" name="ControlFlow6" source="_k2P3kKyLEeKPKesk8xj-aQ" target="_qShTAKyLEeKPKesk8xj-aQ">
<guard xmi:type="uml:LiteralBoolean" xmi:id="_tepQwayLEeKPKesk8xj-aQ" value="true"/>
<weight xmi:type="uml:LiteralInteger" xmi:id="_tepQwqyLEeKPKesk8xj-aQ"/>
</edge>
<edge xmi:type="uml:ControlFlow" xmi:id="_v6mV0KyLEeKPKesk8xj-aQ" name="ControlFlow7" source="_pzbjQKyLEeKPKesk8xj-aQ" target="_vO9-4KyLEeKPKesk8xj-aQ">
<guard xmi:type="uml:LiteralBoolean" xmi:id="_v6mV0ayLEeKPKesk8xj-aQ" value="true"/>
<weight xmi:type="uml:LiteralInteger" xmi:id="_v6mV0qyLEeKPKesk8xj-aQ"/>
</edge>
<edge xmi:type="uml:ControlFlow" xmi:id="_xEsKYKyLEeKPKesk8xj-aQ" name="ControlFlow8" source="_qShTAKyLEeKPKesk8xj-aQ" target="_vO9-4KyLEeKPKesk8xj-aQ">
<guard xmi:type="uml:LiteralBoolean" xmi:id="_xEsKYayLEeKPKesk8xj-aQ" value="true"/>
<weight xmi:type="uml:LiteralInteger" xmi:id="_xEsKYqyLEeKPKesk8xj-aQ"/>
</edge>
<edge xmi:type="uml:ControlFlow" xmi:id="_zP758KyLEeKPKesk8xj-aQ" name="ControlFlow9" source="_vO9-4KyLEeKPKesk8xj-aQ" target="_x9Ej4KyLEeKPKesk8xj-aQ">
<guard xmi:type="uml:LiteralBoolean" xmi:id="_zQFq8KyLEeKPKesk8xj-aQ" value="true"/>
<weight xmi:type="uml:LiteralInteger" xmi:id="_zQFq8ayLEeKPKesk8xj-aQ"/>
</edge>
<edge xmi:type="uml:ControlFlow" xmi:id="_0J2kgKyLEeKPKesk8xj-aQ" name="ControlFlow10" source="_q5WpgKyLEeKPKesk8xj-aQ" target="_x9Ej4KyLEeKPKesk8xj-aQ">
<guard xmi:type="uml:LiteralBoolean" xmi:id="_0J2kgayLEeKPKesk8xj-aQ" value="true"/>
<weight xmi:type="uml:LiteralInteger" xmi:id="_0J2kgqyLEeKPKesk8xj-aQ"/>
</edge>
<edge xmi:type="uml:ControlFlow" xmi:id="_1-cHkKyLEeKPKesk8xj-aQ" name="ControlFlow11" source="_x9Ej4KyLEeKPKesk8xj-aQ" target="_1U-64KyLEeKPKesk8xj-aQ">
<guard xmi:type="uml:LiteralBoolean" xmi:id="_1-cHkayLEeKPKesk8xj-aQ" value="true"/>
<weight xmi:type="uml:LiteralInteger" xmi:id="_1-cHkqyLEeKPKesk8xj-aQ"/>
</edge>
<node xmi:type="uml:InitialNode" xmi:id="_YLZ8oKyLEeKPKesk8xj-aQ" name="InitialNode1" outgoing="_e9rhsKyLEeKPKesk8xj-aQ"/>
<node xmi:type="uml:OpaqueAction" xmi:id="_c8_cUKyLEeKPKesk8xj-aQ" name="Acquiring Request" outgoing="_i9JA4KyLEeKPKesk8xj-aQ" incoming="_e9rhsKyLEeKPKesk8xj-aQ"/>
<node xmi:type="uml:ForkNode" xmi:id="_gaNxIKyLEeKPKesk8xj-aQ" name="ForkNode1" outgoing="_l6Y1IKyLEeKPKesk8xj-aQ _sGRIkKyLEeKPKesk8xj-aQ" incoming="_i9JA4KyLEeKPKesk8xj-aQ"/>
<node xmi:type="uml:DecisionNode" xmi:id="_k2P3kKyLEeKPKesk8xj-aQ" name="DecisionNode1" outgoing="_s01ewKyLEeKPKesk8xj-aQ _tepQwKyLEeKPKesk8xj-aQ" incoming="_l6Y1IKyLEeKPKesk8xj-aQ"/>
<node xmi:type="uml:OpaqueAction" xmi:id="_pzbjQKyLEeKPKesk8xj-aQ" name="Sending Content" outgoing="_v6mV0KyLEeKPKesk8xj-aQ" incoming="_s01ewKyLEeKPKesk8xj-aQ"/>
<node xmi:type="uml:OpaqueAction" xmi:id="_qShTAKyLEeKPKesk8xj-aQ" name="Bad Request Page" outgoing="_xEsKYKyLEeKPKesk8xj-aQ" incoming="_tepQwKyLEeKPKesk8xj-aQ"/>
<node xmi:type="uml:OpaqueAction" xmi:id="_q5WpgKyLEeKPKesk8xj-aQ" name="Sending Banner" outgoing="_0J2kgKyLEeKPKesk8xj-aQ" incoming="_sGRIkKyLEeKPKesk8xj-aQ"/>
<node xmi:type="uml:MergeNode" xmi:id="_vO9-4KyLEeKPKesk8xj-aQ" name="MergeNode1" outgoing="_zP758KyLEeKPKesk8xj-aQ" incoming="_v6mV0KyLEeKPKesk8xj-aQ _xEsKYKyLEeKPKesk8xj-aQ"/>
<node xmi:type="uml:JoinNode" xmi:id="_x9Ej4KyLEeKPKesk8xj-aQ" name="JoinNode1" outgoing="_1-cHkKyLEeKPKesk8xj-aQ" incoming="_zP758KyLEeKPKesk8xj-aQ _0J2kgKyLEeKPKesk8xj-aQ"/>
<node xmi:type="uml:ActivityFinalNode" xmi:id="_1U-64KyLEeKPKesk8xj-aQ" name="ActivityFinalNode1" incoming="_1-cHkKyLEeKPKesk8xj-aQ"/>
</ownedBehavior>
</packagedElement>
<packagedElement xmi:type="uml:Association" xmi:id="_ryjX0KyKEeKPKesk8xj-aQ" name="A_actor_usecase" memberEnd="_ryjX0ayKEeKPKesk8xj-aQ _ryjX1KyKEeKPKesk8xj-aQ">
<ownedEnd xmi:id="_ryjX0ayKEeKPKesk8xj-aQ" name="actor" type="_pB9fgKyKEeKPKesk8xj-aQ" association="_ryjX0KyKEeKPKesk8xj-aQ">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="_ryjX0qyKEeKPKesk8xj-aQ" value="1"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_ryjX06yKEeKPKesk8xj-aQ" value="1"/>
</ownedEnd>
<ownedEnd xmi:id="_ryjX1KyKEeKPKesk8xj-aQ" name="usecase" type="_qNrrwKyKEeKPKesk8xj-aQ" association="_ryjX0KyKEeKPKesk8xj-aQ">
<lowerValue xmi:type="uml:LiteralInteger" xmi:id="_ryjX1ayKEeKPKesk8xj-aQ" value="1"/>
<upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_ryjX1qyKEeKPKesk8xj-aQ" value="1"/>
</ownedEnd>
</packagedElement>
<packagedElement xmi:type="uml:Node" xmi:id="_TprocKyMEeKPKesk8xj-aQ" name="Server"/>
<profileApplication xmi:id="_0bSvQKyKEeKPKesk8xj-aQ">
<eAnnotations xmi:id="_0bcgQKyKEeKPKesk8xj-aQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#/"/>
</eAnnotations>
<appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_zaC5cAPHEdyeNfbOYuD9pg"/>
</profileApplication>
<profileApplication xmi:id="_0bcgQayKEeKPKesk8xj-aQ">
<eAnnotations xmi:id="_0bmRQKyKEeKPKesk8xj-aQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//NFPs"/>
</eAnnotations>
<appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_U_GAoAPMEdyuUt-4qHuVvQ"/>
</profileApplication>
<profileApplication xmi:id="_0bmRQayKEeKPKesk8xj-aQ">
<eAnnotations xmi:id="_0bmRQqyKEeKPKesk8xj-aQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//Time"/>
</eAnnotations>
<appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_WStkoAPMEdyuUt-4qHuVvQ"/>
</profileApplication>
<profileApplication xmi:id="_0bmRQ6yKEeKPKesk8xj-aQ">
<eAnnotations xmi:id="_0bvbMKyKEeKPKesk8xj-aQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//GRM"/>
</eAnnotations>
<appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_XVWGUAPMEdyuUt-4qHuVvQ"/>
</profileApplication>
<profileApplication xmi:id="_0bvbMayKEeKPKesk8xj-aQ">
<eAnnotations xmi:id="_0bvbMqyKEeKPKesk8xj-aQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//Alloc"/>
</eAnnotations>
<appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_ar8OsAPMEdyuUt-4qHuVvQ"/>
</profileApplication>
<profileApplication xmi:id="_0b5MMKyKEeKPKesk8xj-aQ">
<eAnnotations xmi:id="_0b5MMayKEeKPKesk8xj-aQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//CoreElements"/>
</eAnnotations>
<appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_-wEewECLEd6UTJZnztgOLw"/>
</profileApplication>
<profileApplication xmi:id="_0b5MMqyKEeKPKesk8xj-aQ">
<eAnnotations xmi:id="_0cCWIKyKEeKPKesk8xj-aQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//HLAM"/>
</eAnnotations>
<appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_yNSZIAPMEdyuUt-4qHuVvQ"/>
</profileApplication>
<profileApplication xmi:id="_0cCWIayKEeKPKesk8xj-aQ">
<eAnnotations xmi:id="_0cCWIqyKEeKPKesk8xj-aQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//HRM/HwLogical/HwComputing"/>
</eAnnotations>
<appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_aMhZsBJwEdygQ5HMNSpiZw"/>
</profileApplication>
<profileApplication xmi:id="_0cCWI6yKEeKPKesk8xj-aQ">
<eAnnotations xmi:id="_0cCWJKyKEeKPKesk8xj-aQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//HRM/HwLogical/HwCommunication"/>
</eAnnotations>
<appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_bmL7UBJwEdygQ5HMNSpiZw"/>
</profileApplication>
<profileApplication xmi:id="_0cMHIKyKEeKPKesk8xj-aQ">
<eAnnotations xmi:id="_0cMHIayKEeKPKesk8xj-aQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//HRM/HwLogical/HwTiming"/>
</eAnnotations>
<appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_dG2c0BJwEdygQ5HMNSpiZw"/>
</profileApplication>
<profileApplication xmi:id="_0cMHIqyKEeKPKesk8xj-aQ">
<eAnnotations xmi:id="_0cMHI6yKEeKPKesk8xj-aQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//HRM/HwLogical/HwDevice"/>
</eAnnotations>
<appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_ja8REBJwEdygQ5HMNSpiZw"/>
</profileApplication>
<profileApplication xmi:id="_0cMHJKyKEeKPKesk8xj-aQ">
<eAnnotations xmi:id="_0cfCEKyKEeKPKesk8xj-aQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//HRM/HwLogical/HwStorage/HwMemory"/>
</eAnnotations>
<appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_gHI-ABJwEdygQ5HMNSpiZw"/>
</profileApplication>
<profileApplication xmi:id="_0cfCEayKEeKPKesk8xj-aQ">
<eAnnotations xmi:id="_0cfCEqyKEeKPKesk8xj-aQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//HRM/HwLogical/HwStorage/HwStorageManager"/>
</eAnnotations>
<appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_hst0sBJwEdygQ5HMNSpiZw"/>
</profileApplication>
<profileApplication xmi:id="_0cfCE6yKEeKPKesk8xj-aQ">
<eAnnotations xmi:id="_0cfCFKyKEeKPKesk8xj-aQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//HRM/HwLogical/HwStorage"/>
</eAnnotations>
<appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_ZJjPoEIbEd6dmI2dd6jVFQ"/>
</profileApplication>
<profileApplication xmi:id="_0cfCFayKEeKPKesk8xj-aQ">
<eAnnotations xmi:id="_0cozEKyKEeKPKesk8xj-aQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//HRM/HwLogical"/>
</eAnnotations>
<appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_P80EcBJwEdygQ5HMNSpiZw"/>
</profileApplication>
<profileApplication xmi:id="_0cozEayKEeKPKesk8xj-aQ">
<eAnnotations xmi:id="_0cozEqyKEeKPKesk8xj-aQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//HRM/HwPhysical/HwLayout"/>
</eAnnotations>
<appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_uAf6gBJwEdygQ5HMNSpiZw"/>
</profileApplication>
<profileApplication xmi:id="_0cozE6yKEeKPKesk8xj-aQ">
<eAnnotations xmi:id="_0cx9AKyKEeKPKesk8xj-aQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//HRM/HwPhysical/HwPower"/>
</eAnnotations>
<appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_vrbyUBJwEdygQ5HMNSpiZw"/>
</profileApplication>
<profileApplication xmi:id="_0cx9AayKEeKPKesk8xj-aQ">
<eAnnotations xmi:id="_0cx9AqyKEeKPKesk8xj-aQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//HRM/HwPhysical"/>
</eAnnotations>
<appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_R7sL8BJwEdygQ5HMNSpiZw"/>
</profileApplication>
<profileApplication xmi:id="_0cx9A6yKEeKPKesk8xj-aQ">
<eAnnotations xmi:id="_0c7uAKyKEeKPKesk8xj-aQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//HRM/HwGeneral"/>
</eAnnotations>
<appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_WGZ44BJwEdygQ5HMNSpiZw"/>
</profileApplication>
<profileApplication xmi:id="_0c7uAayKEeKPKesk8xj-aQ">
<eAnnotations xmi:id="_0c7uAqyKEeKPKesk8xj-aQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//HRM"/>
</eAnnotations>
<appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_2dtsgAPMEdyuUt-4qHuVvQ"/>
</profileApplication>
<profileApplication xmi:id="_0c7uA6yKEeKPKesk8xj-aQ">
<eAnnotations xmi:id="_0c7uBKyKEeKPKesk8xj-aQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//SRM/SW_ResourceCore"/>
</eAnnotations>
<appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_-1fcUBJdEdy3Td9UhuLFPg"/>
</profileApplication>
<profileApplication xmi:id="_0c7uBayKEeKPKesk8xj-aQ">
<eAnnotations xmi:id="_0dFfAKyKEeKPKesk8xj-aQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//SRM/SW_Concurrency"/>
</eAnnotations>
<appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_A_vtYBJeEdy3Td9UhuLFPg"/>
</profileApplication>
<profileApplication xmi:id="_0dFfAayKEeKPKesk8xj-aQ">
<eAnnotations xmi:id="_0dFfAqyKEeKPKesk8xj-aQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//SRM/SW_Brokering"/>
</eAnnotations>
<appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_Cf874BJeEdy3Td9UhuLFPg"/>
</profileApplication>
<profileApplication xmi:id="_0dFfA6yKEeKPKesk8xj-aQ">
<eAnnotations xmi:id="_0dOo8KyKEeKPKesk8xj-aQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//SRM/SW_Interaction"/>
</eAnnotations>
<appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_EIfnABJeEdy3Td9UhuLFPg"/>
</profileApplication>
<profileApplication xmi:id="_0dOo8ayKEeKPKesk8xj-aQ">
<eAnnotations xmi:id="_0dOo8qyKEeKPKesk8xj-aQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//SRM"/>
</eAnnotations>
<appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_3VS0wAPMEdyuUt-4qHuVvQ"/>
</profileApplication>
<profileApplication xmi:id="_0dOo86yKEeKPKesk8xj-aQ">
<eAnnotations xmi:id="_0dYZ8KyKEeKPKesk8xj-aQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//GCM"/>
</eAnnotations>
<appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_YgAioAPMEdyuUt-4qHuVvQ"/>
</profileApplication>
<profileApplication xmi:id="_0dYZ8ayKEeKPKesk8xj-aQ">
<eAnnotations xmi:id="_0dYZ8qyKEeKPKesk8xj-aQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//GQAM"/>
</eAnnotations>
<appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_4bV20APMEdyuUt-4qHuVvQ"/>
</profileApplication>
<profileApplication xmi:id="_0dYZ86yKEeKPKesk8xj-aQ">
<eAnnotations xmi:id="_0dhj4KyKEeKPKesk8xj-aQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//SAM"/>
</eAnnotations>
<appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_5ZCOIAPMEdyuUt-4qHuVvQ"/>
</profileApplication>
<profileApplication xmi:id="_0dhj4ayKEeKPKesk8xj-aQ">
<eAnnotations xmi:id="_0drU4KyKEeKPKesk8xj-aQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//PAM"/>
</eAnnotations>
<appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_6c2bkAPMEdyuUt-4qHuVvQ"/>
</profileApplication>
<profileApplication xmi:id="_0drU4ayKEeKPKesk8xj-aQ">
<eAnnotations xmi:id="_0drU4qyKEeKPKesk8xj-aQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//RSM"/>
</eAnnotations>
<appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_DIIJoAPNEdyuUt-4qHuVvQ"/>
</profileApplication>
<profileApplication xmi:id="_0drU46yKEeKPKesk8xj-aQ">
<eAnnotations xmi:id="_0d1F4KyKEeKPKesk8xj-aQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//VSL/DataTypes"/>
</eAnnotations>
<appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_9FdqwA-MEdyLh7muGbCqMw"/>
</profileApplication>
<profileApplication xmi:id="_0d1F4ayKEeKPKesk8xj-aQ">
<eAnnotations xmi:id="_0d1F4qyKEeKPKesk8xj-aQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//VSL/Variables"/>
</eAnnotations>
<appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_9UgzYA-MEdyLh7muGbCqMw"/>
</profileApplication>
<profileApplication xmi:id="_0d1F46yKEeKPKesk8xj-aQ">
<eAnnotations xmi:id="_0eIA0KyKEeKPKesk8xj-aQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//VSL/Operators"/>
</eAnnotations>
<appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_jg_Z8PfhEd-f4r3MXmUB9g"/>
</profileApplication>
<profileApplication xmi:id="_0eIA0ayKEeKPKesk8xj-aQ">
<eAnnotations xmi:id="_0eIA0qyKEeKPKesk8xj-aQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
<references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/MARTE/1#//VSL"/>
</eAnnotations>
<appliedProfile href="pathmap://Papyrus_PROFILES/MARTE.profile.uml#_CHiIYA-LEdyNj8xzjk-DoA"/>
</profileApplication>
</uml:Model>
<GQAM:GaAnalysisContext xmi:id="_57QX4KyKEeKPKesk8xj-aQ" base_Package="_MPs1EKyKEeKPKesk8xj-aQ" base_NamedElement="_MPs1EKyKEeKPKesk8xj-aQ">
<context>{contextParams={in$capacity=2,in$concurrent=2}}
</context>
</GQAM:GaAnalysisContext>
<GQAM:GaWorkloadEvent xmi:id="_KO6MkKyLEeKPKesk8xj-aQ" pattern="closed(population=2,extDelay=(exp(1),s))" base_NamedElement="_pB9fgKyKEeKPKesk8xj-aQ"/>
<PAM:PaStep xmi:id="_RXpJ0KyLEeKPKesk8xj-aQ" base_NamedElement="_ryjX0KyKEeKPKesk8xj-aQ"/>
<PAM:PaStep xmi:id="_6-5JsKyLEeKPKesk8xj-aQ" base_NamedElement="_c8_cUKyLEeKPKesk8xj-aQ" base_Action="_c8_cUKyLEeKPKesk8xj-aQ" host="_ZP7fQKyMEeKPKesk8xj-aQ">
<hostDemand>(exp(2),s)</hostDemand>
</PAM:PaStep>
<PAM:PaStep xmi:id="__G9yUKyLEeKPKesk8xj-aQ" base_NamedElement="_s01ewKyLEeKPKesk8xj-aQ" prob="0.7"/>
<PAM:PaStep xmi:id="_EmEfUKyMEeKPKesk8xj-aQ" base_NamedElement="_tepQwKyLEeKPKesk8xj-aQ" prob="0.3"/>
<PAM:PaStep xmi:id="_HBicMKyMEeKPKesk8xj-aQ" base_NamedElement="_pzbjQKyLEeKPKesk8xj-aQ" base_Action="_pzbjQKyLEeKPKesk8xj-aQ" host="_ZP7fQKyMEeKPKesk8xj-aQ">
<hostDemand>(exp(4),s)</hostDemand>
</PAM:PaStep>
<PAM:PaStep xmi:id="_NOUukKyMEeKPKesk8xj-aQ" base_NamedElement="_qShTAKyLEeKPKesk8xj-aQ" base_Action="_qShTAKyLEeKPKesk8xj-aQ" host="_ZP7fQKyMEeKPKesk8xj-aQ">
<hostDemand>(exp(2),s)</hostDemand>
</PAM:PaStep>
<PAM:PaStep xmi:id="_OzofgKyMEeKPKesk8xj-aQ" base_NamedElement="_q5WpgKyLEeKPKesk8xj-aQ" base_Action="_q5WpgKyLEeKPKesk8xj-aQ" host="_ZP7fQKyMEeKPKesk8xj-aQ">
<hostDemand>(exp(2),s)</hostDemand>
</PAM:PaStep>
<GQAM:GaExecHost xmi:id="_ZP7fQKyMEeKPKesk8xj-aQ" resMult="2" base_Classifier="_TprocKyMEeKPKesk8xj-aQ" schedPolicy="FIFO">
<throughput>(exp(1),s)</throughput>
</GQAM:GaExecHost>
</xmi:XMI>
please give me some suggestion
Thank you in advnce!
|
|
|
|
|
Re: the error of runing ATL transformations in Java [message #1053419 is a reply to message #1053188] |
Sun, 05 May 2013 10:02 |
Mathias Colpaert Messages: 13 Registered: November 2012 |
Junior Member |
|
|
Hi,
I dont know what your problem is. Maybe you can debug some stuff like this, replace:
EPackage.Registry.INSTANCE.put("http://www.eclipse.org/papyrus/GQAM/1", org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage.eINSTANCE);
EPackage.Registry.INSTANCE.put("http://www.eclipse.org/papyrus/PAM/1", org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PAMPackage.eINSTANCE);
With this:
EPackage.Registry.INSTANCE.put(org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage.eNS_URI, org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage.eINSTANCE);
EPackage.Registry.INSTANCE.put(org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PAMPackage.eNS_URI, org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PAMPackage.eINSTANCE);
System.out.println("URI1 = " + org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.GQAM.GQAMPackage.eNS_URI);
System.out.println("URI2 = " + org.eclipse.papyrus.MARTE.MARTE_AnalysisModel.PAM.PAMPackage.eNS_URI);
Of course, also dont forget to register UML itself (apart from your profile). To do so, add references to UML jars in your project dependencies, and import org.eclipse.uml2.uml.UMLPackage, next add:
EPackage.Registry.INSTANCE.put(UMLPackage.eNS_URI, UMLPackage.eINSTANCE);
Dont know if it helps.
Regards,
M
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03994 seconds