Acceleo 2.5.0 - New and Noteworthy


Acceleo 2.5 provides as a new feature a profiler. You can profile the time spent by each element of a chain (from a chain action to a call inside a script).

All these news are added to the Acceleo 2.4.0 new and noteworthy notes.

Profiler

You can now profile the time spent by each element of a chain (from a chain action to a call inside a script). The profiler is activated from the launch configuration of your chain.

Model profile provides the following information:

  • the percentage of time spent for each element
  • the time (in milliseconds) spent for each element
  • the number of times the element has been used.

The tree view is ordered from the most time consuming to the less time consuming element. If you double-click on a template element the corresponding editor will show up with the textual representation of the profiled element selected.

Acceleo Profiler
Figure : Acceleo Profiler

Outline improvement

Now, it is possible to sort the outline content by type, by name or unsorted.

Outline sorting
Figure : Outline sorting

Enterprise Architect 7.1 Compatibility

Acceleo Bridge for Enterprise Architect 7.1 (UML 2.1 export) has been updated for the last version of Enterprise Architect (EA 7.1.833).

If you need more information concerning the Acceleo compatibility with other modelers, have a look on the compatibility page.

UML 2.1 to C Module

A new module arrived in the modules repository and is included in the Acceleo bundles: you can now generate a C application from an UML2 model. The current version supports:

  • Header files generated from model elements:
    • Classes
    • Datatype
    • Enumeration
  • Source files generated from model classes
  • Generated files respect the package structure
  • Comments generated from comment model elements
  • Function declaration and definition
  • Global variables
  • Visibility management for function declarations and global variables
    • In header file, if public
    • In source file, if private
  • Multiplicity management for variables and parameters
  • Import management
  • Structure and enumeration generation

More details are available here.

UML 2.1 to Java module

Java

A new version of UML2 to Java module arrived, based on Papyrus Java module, in the modules repository and is included in the Acceleo bundles: you can now generate a Java application from an UML2 model. The current version supports:

  • Java files generated from model elements:
    • Classes
    • Interfaces
    • Enumerations
  • Generated files respect the package structure
  • Comments generated from comment model elements
  • Association management
  • Generalization management
  • Interface realization management
  • Accessors generation

More details are available here.

Optimization of Acceleo 3.0 standalone engine (beta version)

Performances of the Acceleo 3.0beta engine have been greatly improved. Execution time between Acceleo 2 and Acceleo 3beta have significant differences in favor of the last engine version.

BUG fixes

The following bugs have been corrected:

311238Typo in french version of Module Launcher Wizard description text
311020Prevent completion from showing up on '.' char in template comments
310348args and i doesn't respect prefix directive
309255Problem with code completion
311703Auto completion of available templates or Java classes for import
309114StackOverflowError on indentTab
311743Documentation problem for split service
311872Entreprise Architect XMI

The following features have been integrated:

306878Order the outline of the template
306888Metrics for a generation