Skip to main content



      Home
Home » Archived » GMT (Generative Modeling Technologies) » [MOFScript]Import the cmof metamodel in a MOFScript transformation
[MOFScript]Import the cmof metamodel in a MOFScript transformation [message #519890] Wed, 10 March 2010 06:30 Go to next message
Eclipse UserFriend
Hello,
I want to transform an xml file having the following header:
---------------------
<?xml version="1.0" encoding="UTF-8"?>
<xmi:XMI xmi:version="2.1" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1" xmlns:cmof="http://schema.omg.org/spec/MOF/2.0/cmof.xml">
<cmof:Package xmi:id="_0" name="UML">
---------------------
I didn't find the cmof metamodel in the import list of mofscript. Is there a way to get it?
Thanks!


M
Re: [MOFScript]Import the cmof metamodel in a MOFScript transformation [message #521582 is a reply to message #519890] Thu, 18 March 2010 04:15 Go to previous messageGo to next message
Eclipse UserFriend
Dear Yeliu,

In the normal case, you should have the CMOF metamodel (EMF) installed as a plugin in your eclipse installation --- the metamodel should then appear in the 'import list'.

Another option is to place the actual EMF file under the directory specified as 'Metamodels path for MOFScript, which you will find under 'Windows/Preferences/MOFScript' in eclipse.

Cheers,
Jon Oldevik
Re: [MOFScript]Import the cmof metamodel in a MOFScript transformation [message #521691 is a reply to message #521582] Thu, 18 March 2010 10:10 Go to previous message
Eclipse UserFriend
Hi Jon,
We've been trying very hard to seek CMOF metamodel everywhere, but cann't find it unfortunately. Do you know where I can download such a .jar file or whatever so that I can make MOFScript find it?
A lot of thanks!


M
Previous Topic:Initializing diagrams programatically?
Next Topic:[TCS] Using a generated injector in an Eclipse with ATL 3.x installed
Goto Forum:
  


Current Time: Sun Mar 16 09:57:09 EDT 2025

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

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

Back to the top