Wednesday, July 1, 2009

Acceleo 0.8 is out

You might already know Acceleo 2.6, the open source model-to-text generator, and wonder how version 2.6 could come down to 0.8. The reason is quite simple : after four years of development outside of Eclipse, Acceleo is now taking a turn (for the better we hope :)) since we began rewriting it within Eclipse as the implementation of the OMG MOF Model to text Transformation Language (MOFM2T) specification. This change and our becoming an Eclipse-hosted project calls for a mandatory incubation period, thus version numbers "0.x".

Acceleo 0.8 already offers basic solutions to migrate existing Acceleo 2.x templates to the new syntax. This migration is still a draft and we are working on improving it so that most "old" templates can be migrated to the new syntax automatically, or with the least amount of manual editing needed. Compatibility with Eclipse itself is detailed on Acceleo wiki page.

This first release of Acceleo as the implementation of the MOFM2T specification already provides most of the tooling that can be expected from an M2T generator. A succinct list can be found on the New and noteworthy wiki page.

Tuesday, June 30, 2009

EMF Compare graduated!

Galileo is out ... and with it came the graduation of EMF Compare to 1.0 at last!

A great deal of improvement has been made in EMF Compare so as to improve user experience and effectiveness. This release sees the usual new differences EMF Compare detects (reference order changes, resource dependencies, ...), and an improved support for the various VCSs (CVS, SVN, ...).

The most outstanding improvement is the ability to compare whole ResourceSets instead of a single model; allowing users to compare fragmented models as well as linked models (UML models referring to profiles, Genmodels referring to ecore models, ...) and thus detecting changes made in the selected models along with changes that can have taken place in their dependencies.


Thanks to a contribution from Moritz Eysholdt, EMF Compare now provides a patch format for model merging. This EPatch format is associated with a textual syntax thanks to XText, allowing for easier editing and improved readability of these patches.


The full list is available on EMF Compare 1.0 new and noteworthy wiki page.

Friday, February 20, 2009

Negative search

Dimitrios Kolovos posted a while ago a plugin to allow negative searches within Eclipse (how to find a file that does not contain a given String). I didn't want to install yet another plugin in my Eclipse and thought that regexes should allow for this.

Well they do :) here's a regex that will match any file if it does not contain "Copyright" (can be quite useful, that :p).

(?s)\A((?!Copyright).)*\Z

Monday, February 9, 2009

no more unresolvable EMF Compare failures

Ever tried using EMF Compare to compare your models only to see it fail somehow? Metamodels often evolve, making the old models unusable. Sometimes the models themselves aren't valid and cannot be loaded through EMF. On such occasion, trying to compare the files through EMF Compare simply failed, opening a blank editor and logging an exception.

That left you with no way to compare your files, save for renaming them to another extension. Well fear no more! As of 0.9M3, EMF Compare now displays a pretty error message when something goes wrong while loading the models.
Apart from frustrating you with this all too often seen red icon, this dialog provides you with the option to compare the files as text. Oh goodie!
Well of course, xmi isn't really a human-friendly language ... but at least this is way better than nothing to spot that stupid typo and make the model useable again :).