Skip to main content



      Home
Home » Modeling » M2T (model-to-text transformation) » [Xpand] Xpand editor error markers
[Xpand] Xpand editor error markers [message #550034] Wed, 28 July 2010 15:50 Go to next message
Eclipse UserFriend
Hi everyone,

My Xpand templates work well.

But one problem is:

In the Eclipse Initial WS, I have a code generation project which contains all the templates.

In the Eclipse Runtime WS, I trigger this code generation on a selected model.

Everything works fine. However, when I open the templates in the Initial WS, the red error markers appear at all the locations that contain names from the metamodel. So, it seems that the editor cannot recognize the metamodel, even though I used the correct <<import ... >>

These error markers are very annoying.

Any ideas?

Thanks.

Yu
Re: [Xpand] Xpand editor error markers [message #550036 is a reply to message #550034] Wed, 28 July 2010 16:03 Go to previous messageGo to next message
Eclipse UserFriend
Hi, make sure that the metamodel is on the classpath and that you activate the right metamodel in your Generator projects xpand xtend properties - the Default is (Dynamic) EMF but it should Be JavaBeansMetamodel for Xtext projects.

Regards,
Christian
Re: [Xpand] Xpand editor error markers [message #550040 is a reply to message #550036] Wed, 28 July 2010 16:23 Go to previous message
Eclipse UserFriend
Thanks Christian. The problem has been solved. I need to put the ecore file in the correspondent folder.

Yu
Previous Topic:[Acceleo 3] Module to plugin [Resolved]
Next Topic:[Acceleo] store trace information
Goto Forum:
  


Current Time: Wed Jul 23 12:44:31 EDT 2025

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

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

Back to the top