Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [XPand/GMF] templates import statements
[XPand/GMF] templates import statements [message #509369] Fri, 22 January 2010 09:17 Go to next message
Hauke Fuhrmann is currently offline Hauke FuhrmannFriend
Messages: 333
Registered: July 2009
Senior Member
Hi there,

I try to augment GMF codegen templates for my editor.
I copied the templates and put them into a source folder, where the
XPand nature parses the file.

It gives an error message for the import statements like


Error: Mismatched input "",
expecting identifier .

Then I get a NullPointerException in the Xpand outline view. At least
this is a bug, isn't it?

Is the syntax of the GMF templates something else than the standard
Eclipse XPand stuff?
Not sure whether this is an GMF or Xpand issue.

Re: [XPand/GMF] templates import statements [message #509379 is a reply to message #509369] Fri, 22 January 2010 10:03 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14434
Registered: July 2009
Senior Member

yes GMF uses a Xpand fork so you should edit the templates with the xpand editor provided by GMF.

Need professional support for Xtext, Xpand, EMF?
Go to:
Twitter : @chrdietrich
Blog :
Previous Topic:[Xpand] Long namespaces and editor proposals
Next Topic:[xtend] UML profile stereotypes not recognized
Goto Forum:

Current Time: Wed Feb 08 20:11:29 GMT 2023

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

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

Back to the top