Jump to: navigation, search

Difference between revisions of "Acceleo/Compatibility"

m (Template of the Acceleo index.)
m (categories)
Line 24: Line 24:

Revision as of 07:08, 12 January 2011


The Acceleo development team does its best to maintain downward compatibility towards Ganymede (Eclipse 3.4). Following is the compatibility chart (Note that there has been no "0.9" version, and Acceleo jumped right up to version 3.0 when graduating, details here) :

Acceleo Eclipse 3.4 - EMF 2.4 Eclipse 3.5 - EMF 2.5 Eclipse 3.6 - EMF 2.6
0.8 OK OK
3.0 OK OK OK

An empty cell indicates that the compatibility hasn't been tested for a particular combination.

Behavioral changes between versions

Take note that as new OCL features are enabled in new Eclipse versions, they allow shortcuts or characters in OCL expressions that cause Acceleo templates written within a newer Eclipse to be incompatible (at compilation time) with older Eclipses! In short, modules that compile in a given Eclipse will always compile in subsequent releases, and modules that have been compiled (whatever the version) should be launch-able in any Eclipse.

  • Galileo allows us to properly check the return type of standard library operations; thus "oclAsType" calls that were mandatory in Ganymede aren't in Galileo. Templates making use of this cannot compile within Eclipse 3.4 without re-adding these calls.
  • OCL 1.3 allowed us to activate an option to activate control characters within Acceleo templates. \n, \t, \r, \', \" and \\ can be used in templates to generate linefeeds, horizontal tabs, carriage returns, ... from Acceleo 3.0 onward. templates containing such characters will generate the text \n instead of linefeeds in Acceleo < 3.0.

Acceleo Portal
Project Project · Installation
Features Acceleo Features · Runtime · Acceleo editor · Views & Perspective · Interpreter · Maven
User documentation Getting Started · User Guide · Acceleo operations reference · OCL operations reference · Text Production Rules · Migration From Acceleo 2.x · Best Practices · Videos · FAQ
Developer documentation Source code · How to contribute · Compatibility · MOFM2T specification · OCL specification
Community Professional Support · Report a bug