[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.modeling.mdt.ocl] Re: [Announce] OCL goes Generic! And OCL goes UML!

This is great news! I work with UML2 and when I learned that Eclipse OCL support was geared towards EMF only it was a big turnoff. I just downloaded the latest integration with suport to UML2 and will start looking into using it right away.

Keep up the good work!

Rafael

Christian W. Damus wrote:
Hi, all,

The latest integration build of OCL:

    http://www.eclipse.org/modeling/mdt/downloads/index.php?project=ocl

is a big change over OCL 1.1 M4.  This build includes the following
enhancements:

  - adopt EMF 2.3/J2SE 5.0
      https://bugs.eclipse.org/bugs/show_bug.cgi?id=156361

  - Support OCL expressions on the UML Metamodel
      https://bugs.eclipse.org/bugs/show_bug.cgi?id=163808

in addition to numerous bug fixes.

The following new features (in Update Manager terms) are available:

  - org.eclipse.ocl:  a refactoring of the org.eclipse.emf.ocl feature,
     including a generic OCL Abstract Syntax model (using Ecore generics)
     and an Environment implementation for Ecore.  This feature includes
     the org.eclipse.ocl and org.eclipse.ocl.ecore plug-ins that replace
     the org.eclipse.emf.ocl plug-in

  - org.eclipse.ocl.uml:  a new Environment implementation for the UML
     metamodel.  This implements support for parsing OCL constraints and
     queries on UML models (as opposed to Ecore models)

The org.eclipse.emf.ocl feature continues to be supported, with all of the
M4 and earlier API.  This API is now deprecated, as it is hard-wired to the
Ecore metamodel and is obsoleted by the new generic parser.  I encourage
you to migrate to the new org.eclipse.ocl API as you are able.  The
Interactive OCL Console (org.eclipse.emf.ocl.examples.interpreter) example
plug-in is updated, so it should help to demonstrate; likewise the
org.eclipse.ocl.ecore.tests.  A more complete migration guide will be
forthcoming.

Cheers,

Christian