Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » OCL into XTEXT(Generated XText from ecore and have OCL errors)
OCL into XTEXT [message #1745220] Thu, 06 October 2016 15:49 Go to next message
tom KIRKHAM is currently offline tom KIRKHAMFriend
Messages: 16
Registered: August 2016
Junior Member
index.php/fa/27323/0/Hi All,

I have created a web editor for my ecore dsl thanks to allot of support on here and by translating the ecore to xtext and following the xtext web editor demo.

However, the syntax relevant to the DSL seems to work but the OCL elements seem to generate errors (see attached screenshot). I have added the following import to the mwe2 file
import org.eclipse.ocl.OCL.*

But I guess resolution of the issue is more complex than this, can anybody point me in the right direction?

Thanks,
Tom
Re: OCL into XTEXT [message #1745223 is a reply to message #1745220] Thu, 06 October 2016 16:15 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13885
Registered: July 2009
Senior Member
Do you have Java mains / unit tests running that solve the problem
If yes what do you do there so that it can be resolved


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: OCL into XTEXT [message #1745339 is a reply to message #1745223] Fri, 07 October 2016 14:26 Go to previous message
tom KIRKHAM is currently offline tom KIRKHAMFriend
Messages: 16
Registered: August 2016
Junior Member
Hi Christian,

Dont think so. Will look into how I can set them up.

Thanks,
Tom
Previous Topic:Get Project Name in new Project Wizard for Eclipse
Next Topic:error EXPAND
Goto Forum:
  


Current Time: Mon Apr 19 08:53:57 GMT 2021

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

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

Back to the top