Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMT (Generative Modeling Technologies) » [Epsilon] Problems using HUTN with UML metamodel
[Epsilon] Problems using HUTN with UML metamodel [message #618110] Tue, 01 July 2008 03:58
Pau Giner is currently offline Pau Giner
Messages: 18
Registered: July 2009
Junior Member
Hello,
I've experienced problems with HUTN when trying to define a UML model.
The problem I guess is that UML metamodel uses its own dataTypes. So
HUTN cannot convert strings to the UML-defined String datatype.


For example, if I define the following:

@Spec {
MetaModel "uml" {
nsUri = "http://www.eclipse.org/uml2/2.1.0/UML"
}
}

Packages {
Package "Pk" {
name: "package"
nestedPackage: Profile "Pr" { name: "profile" }
ownedType: Class "C" { name: "class" }
}
}



I get the following error:

[Line: 9, Column: 5, Reason: Expected String for: name, Line: 10,
Column: 35, Reason: Expected String for: name, Line: 11, Column: 28,
Reason: Expected String for: name]

Is there any construct to handle the creation of these datatypes?

--Pau
Previous Topic:[MOFScript] loading Metamodel
Next Topic:[AM3] Emfatic zoo
Goto Forum:
  


Current Time: Wed Apr 16 06:51:03 EDT 2014

Powered by FUDForum. Page generated in 0.01760 seconds