ATL 3.1.0 New and Noteworthy
The ATL Toolkit is now compatible with Eclipse Helios (Eclipse 3.6, EMF 2.6). ATL is still compatible with Eclipse 3.5, 3.4, 3.3 and 3.2.
ATL Editor improvements
- Hover informations
- Open declaration (both available with F3 and Ctrl-click)
- Content assist
- Occurences highlighting
Output Model selection
A miss in the ATL syntax has just been corrected: the in keyword is now available for both input and output patterns. It mainly allow to specify in which model you want to create elements, when the old semantics forbade the use of several output models conforming to the same metamodel declaration. The workaround wasn't very intuitive as it consists on declaring the same metamodel with different names...
The use of this keyword is described at the end of this section.
Debugging & Profiling
The ATL plugin wizard is a new feature which helps achieving an ATL programmatic launch. This utility first will ask for transformation parameters (metamodels, libraries paths, transformation modules paths):
Then a new plug-in will be generated, embedding:
- the transformation modules and libraries
- a propery file containing URIs, atl file paths
- a Java class which allow to programmatically launch the ATL transformation
Finally you will be able to launch the transformation using the generated main, or integrating the launcher class into an existing application. To use the transformation as a standalone app, you can use Eclipse PDE export options:
This will product a .jar containing all the required ATL, Eclipse and EMF libraries.