Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Instructions to upload OMG UML Testing Profile ver.1.1 (Step to use UTP in Eclipse)
icon10.gif  Instructions to upload OMG UML Testing Profile ver.1.1 [message #1005348] Thu, 24 January 2013 19:24 Go to previous message
Mohamed Mussa is currently offline Mohamed Mussa
Messages: 43
Registered: August 2010
Location: Canada
Member
Instructions to upload OMG UML Testing Profile ver.1.1

1) change the file extension from "xmi" to "uml"

2) change th follow lines:

2.1) xmlns:uml="http://www.omg.org/spec/UML/20090901"
this is a UML 2.3 which is not supported by Eclipse to any other version such as
xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML"

2.2) xmlns:StandardProfileL2="http://schema.omg.org/spec/UML/2.3/StandardProfileL2.xmi
to (or change the UML version)
xmlns:StandardProfileL2="http://schema.omg.org/spec/UML/2.4/StandardProfileL2.xmi

2.3) xmlns:StandardProfileL3="http://schema.omg.org/spec/UML/2.3/StandardProfileL3.xmi
to (or change the UML version)
xmlns:StandardProfileL3="http://schema.omg.org/spec/UML/2.4/StandardProfileL3.xmi


3) Use Find & ReplaceAll for the following string

3.1) Find: "http://www.omg.org/spec/UML/20090901/uml.xml#Boolean"
Replace with: "pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"

3.2) Find: "http://www.omg.org/spec/UML/20090901/uml.xml#UnlimitedNatural"
Replace with: "pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#UnlimitedNatural"

3.3) Find: "http://www.omg.org/spec/UML/20090901/uml.xml#String"
Replace with: "pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"

3.4) Find: "http://www.omg.org/spec/UML/20090901/uml.xml#"
Replace with: "pathmap://UML_METAMODELS/UML.metamodel.uml#"


4) Go to the "Verdict" definition

4.1) Delete all lines that ref. the "ownedLiterals" to their parent
the line should look like this one
"<classifier xmi:idref="_17_0_12b803b5_1294135628266_970892_1970"/>"

5) Add the content of tag "<xmi:XMI >" (second tag, line 2) to tag "<uml:Profile"
Then delete the xmi tags (3 tags including the closing @ the end of the file)

6) Or you can download the attached file (OMG UTP ver.1.1)

Validate, Define and Enjoy!

Mohamed
 
Read Message icon10.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Problems with using the UML.ecore metamodel directly
Next Topic:Loading UML-Model with papyrus-profile applied
Goto Forum:
  


Current Time: Tue May 28 17:50:15 EDT 2013

Powered by FUDForum. Page generated in 0.08508 seconds