| [news.eclipse.modeling.gmt] Re: [Epsilon] Problems using HUTN with UML metamodel |
Hi Pau,
1) Close Eclipse
5) Restart Eclipse
Many thanks, Louis.
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
Attachment:
hutn-uml2-fix.zip
Description: Zip archive