Community
Participate
Working Groups
In https://www.eclipse.org/forums/index.php/mv/msg/1105916/1834660/#msg_1834660 a user starts with a UML profile, uses genmodel to convert it to Ecore then uses the Xtext New wizard to convert to an Xext grammar. This nearly works. import "http://www.eclipse.org/uml2/5.0.0/UML" as uml is correctly generated but import "http://www.eclipse.org/uml2/5.0.0/Types" as types is not. Missing import is required as of UML 2.5 / UML2 5.0, i.e. since 2014. Also if the user uses the standard built-in String/Integer etc, the result is a bad EDataType rule that returns an empty name. The produced type could be usefully mapped to the Ecore type for the same class. Needs a JUnit test.