Code Generation 2011
Three weeks ago I was at Cambridge for Code Generation 2011. The conference was great and I had the opportunity to meet a lot of interesting persons. I also presented a talk about Acceleo 3 and Obeo Traceability 2. The presentation has been created by re-using code from Google and since it is based on some of the latest features of HTML5, I strongly recommend Chrome to have a look at it. Those who are interested will finally be able to find those slides on the Obeo Network. A video of the presentation should be available soon.
Acceleo 3.0.5
Today we have released Acceleo 3.0.5 with some new improvements coming from Acceleo 3.1.0 for the properties files. You can learn more about those improvements in one of my previous post. You can grab this new version from the Acceleo 3.0.x update site:
http://download.eclipse.org/modeling/m2t/acceleo/updates/releases/3.0
AÂ best practices guide for Acceleo 3 generators has also been released and for those who are waiting for th...
Blog
Here we are again, it is almost time for the annual Eclipse release; this year for the sixth consecutive named simultaneous release. EMF Compare has been there since Callisto, the first of those six; and EMF Compare 1.2.0 is now on its way out. So, what has been added to this new release?Among the usual bug fixes, we have added some noteworthy features :Difference groupingEMF Compare can detect a number of differences between models; additions, deletions, moves... It is now possible to "group" these changes by type in order to read the comparison with a little more ease.New Grouping strategies can also easily be contributed by client plugins; more information can be found on the dedicated wiki page.Difference filteringIt is now possible to filter out some of the differences from the EMF Compare UI. For example, here is the same comparison as above without the "added" elements :As for grouping, new filtering strategies can be contributed by clients plugins. Detailled information on this...
Among all the new features available in Acceleo 3.1, you will be able to find a new system to compile and build an Acceleo generator. You could already use the Eclipse system based on PDE already described here but now with Acceleo 3.1, you will have the opportunity to build your generator thanks Maven to with the introduction of a Tycho based build.
In order to build an Acceleo generator with Tycho, there are four steps to realize.
add a dependency to the parser
generate the pom.xml files
register the metamodel used by your generator
and then launch the build
Now let’s have a look in details at those steps.
The first thing that you have to do is to add an optional dependency with the Acceleo parser in your MANIFEST.MF file.
Then, you can use the new action to generate the pom.xml files necessary to the build. This action can be found by right-clicking an Acceleo project in the “Configure” menu.
This action will generate two pom.xml files and a Java class. The firs...
Some of our users have been bit by the fact that Acceleo caches the result of Query invocations, returning the very same result each time a given query is called. These users often came with the same two questions : "why?" and "Can this cache be disabled in my case?".The answer to the first has always been and will remain the same : Acceleo is an implementation of the OMG's MOFM2T 1.0 specification, and this specification tells us thatA query is required to produce the same result each time it is invoked with the same arguments.That is the reason we decided to cache the result : in order to return that same result each time the query is called, without re-evaluating it.The answer to the second, however, changes with the 3.1.0 release of Acceleo : even though we strive to be as close as possible to the specification, there are times where this caching of the query return values is not desirable : it can be really costly memory-wise, it could be a call to a Java method that has random re...
Tomorrow (2011/05/31, at 3 pm Paris timezone), there will a webinar about EclipseCon 2011 and Eclipse Indigo focused on news and northworthy of the Eclipse ecosystem. For the first time, this webinar will be in French since it will target the large and active community of French Eclipse users and some of them are more comfortable with their native language ;)Speakers are: Etienne Juliot, Cédric Brun, Mariot Chauvin, Mikaël Barbero, Frédéric Madiot.You can register at: http://live.eclipse.org/node/1030 English abstractEclipseCon 2011 was a great success with lots of announcements and exciting new projects.If you could not got there or you didn't success to fork yourself to see every talks, this webinar will help you to have an overview of the event and the upcoming technologies for Eclipse Indigo.As lots of materials on EclipseCon are already available in English and in a view to increase their visibility to the french community, this webinar will be in French.Résumé en françaisEclipseC...