[Epsilon] Problems using HUTN with UML metamodel [message #618110] |
Tue, 01 July 2008 03:58 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03301 seconds