Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » OCL Syntax check
OCL Syntax check [message #492366] Tue, 20 October 2009 05:07 Go to next message
Milan Milanovich is currently offline Milan Milanovich
Messages: 201
Registered: July 2009
Senior Member
Hi,

I need to check syntax of my OCL constraints. How can I do this in OCL component of latest MDT? I just want to check my OCL syntax, and not to valid model file (for now). I'm wondering also do I need to have ecore (meta)model file for this?

--
thx, Milan
Re: OCL Syntax check [message #492857 is a reply to message #492366] Thu, 22 October 2009 02:25 Go to previous message
Ed Willink is currently offline Ed Willink
Messages: 3849
Registered: July 2009
Senior Member
Hi Milan

An OCL editor has been developed by the QVT Declarative project and it
is intended to migrate this to MDT/OCL for the Helios release. The
editor provides source syntax checking and semantic model compliance
checking as well as source colouring and completions.

Both MDT/OCL and M2M/QVTd projects are currently struggling with releng
and so easy to use Update Sites are not available.

For now, it is possible to Import a Project Set from CVS to extend an
Eclipse 3.5 or later installation following the
instructions in http://wiki.eclipse.org/MDT/OCL/FAQ#OCL_Editor.

The FAQ will be updated as releng facilities improve.

Regards

Ed Willink

Milan Milanovich wrote:
> Hi,
>
> I need to check syntax of my OCL constraints. How can I do this in OCL
> component of latest MDT? I just want to check my OCL syntax, and not to
> valid model file (for now). I'm wondering also do I need to have ecore
> (meta)model file for this?
>
> --
> thx, Milan
Previous Topic:OCL in Transition's Guard to access trigger properties
Next Topic:Composing instances of a used-defined type
Goto Forum:
  


Current Time: Fri Apr 25 02:58:42 EDT 2014

Powered by FUDForum. Page generated in 0.02245 seconds