Acceleo 2.4.0 - New and Noteworthy
Release plans have been slightly reviewed to certify API compatibility for this new Acceleo version. Behaviour modifications between Acceleo 2.X and 3.0 are mainly due to differences in resources access.
Acceleo 2.4 provides two ways to export generator projects:
- Standalone export relies on the 3.0 engine which is entirely standalone. Standalone generation does not feature the same behavior as the 2.X generation. For example, services using Eclipse resources (IFile, IProject, etc.) do not work in standalone. Some paths or URL/URI used to access resources may also change.
- RCP export provides an RCP application relying on the 2.4 engine of Acceleo. Functionalities and behaviors are the same as in a full-featured Eclipse. The exported project can generate or load files from anywhere in the file system (not limited to the Eclipse workspace).
All these news are added to the Acceleo 2.3.0 new and noteworthy notes.
Export generator module as a Java standalone application
Export of a generator module as a Java standalone application relies on the version 3.0 of Acceleo engine. It is new and available as a beta version. This export creates a java project with all required dependencies to use your Acceleo generator outside of Eclipse. It allows you to use your exported generator in a non-Eclipse context.
Acceleo 3.0 engine is only available as a beta, this export is experimental in this version.
For further information, please read the new section 8 of the user manual.
Export a generator module as an RCP product
Exporting a module as an RCP (Rich Client Platform) product use the Acceleo 2.4 engine. It limits the number of dependencies to Eclipse. The exported Acceleo product can be simply used by editing the Acceleo.ini file in the output folder. For further information, please read the new section 8 of the user manual.
The template editor ergonomy has been improved with a new functionality: "folding". It allows you to hide content of scripts and imports to keep only useful information while editing templates.
Models cache on chains is now optional.
The following bugs have been corrected :
|307568||False error in Eclipse|
|310942||Problem on updateSite|
|311087||Small fix in SpecificScript#createSpecificImport()|