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 04:17 Go to next message
Hauke Fuhrmann is currently offline Hauke Fuhrmann
Messages: 322
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

«IMPORT 'http://www.eclipse.org/gmf/2009/GenModel

Error: Mismatched input "http://www.eclipse.org/gmf/2009/GenModel",
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.

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

yes GMF uses a Xpand fork so you should edit the templates with the xpand editor provided by GMF.
Previous Topic:[Xpand] Long namespaces and editor proposals
Next Topic:[xtend] UML profile stereotypes not recognized
Goto Forum:
  


Current Time: Thu Aug 28 03:32:14 EDT 2014

Powered by FUDForum. Page generated in 0.03376 seconds