While working on the future Acceleo tutorial that will occurred during EclipseCon 2012, I have to work with several javascript frameworks and with the API of the Chrome browser. Of course, as usual, it’s a nice opportunity to see what can be done with those.
I believe that I can use that opportunity to build a small extension for those who want to find Acceleo related content on internet quickly. I’ll have to work on the design and I hope that I will be able to integrate inside real time news, a good opportunity to have a look at Twitter APIs. Here’s a small screenshot of a first version realized in a few minutes.
Lien d'origineAuteur d'origine: sbegaudeau...
Blog
The next version of Acceleo will introduce a number of improvements of its existing features, one of its most important, the automatic builder, being entirely re-written in order to get rid of legacy code and improve the user experience. This also comes with a much better experience for users that need to build their Acceleo generators in standalone, through maven or tycho. More news on this are available on the bugzilla and Stephane's latest post.One of the least visible features, yet one I find among the most interesting aspects of the Acceleo code generator, is the traceability between the generated code, the model used as input of the generation, and the generator itself. Basically, you always know where that esoteric line of code came from : which part of the generation template generated it, and which model element triggered its generation.This feature has known a series of improvements as we used it intensively with the UML to java generator. We are now confident that we can rec...
With the release of the new Acceleo stand alone front end for the compilation of Acceleo modules, I’ve started to work on a brand new maven integration in Acceleo.
Currently in Acceleo, if you need to build Acceleo modules with maven you have to use a Tycho based build with a java class generated by Acceleo to tweak the build (for example to register the metamodel(s) used in the modules). This Tycho based build will always produce an Eclipse plugin as a result.
The next major release of Acceleo will have a maven plugin dedicated to the compilation and it will bring several key improvements. Firstly, the new compilation front end brings a completely stand alone compilation. Those who want to build their Acceleo modules without having to build an Eclipse plugin will be able to do so. Secondly, this new front end support more complex project structures (with for example, multiple output folders in a same project). Thirdly, you will have the ability to contribute a class to influence...
You want to use Acceleo jars in a stand alone project with maven? You don’t know how to host Acceleo jars in a maven repository? Well, it’s simple:
1- create a local maven repository
2- put Acceleo jars inside
3- push it on github :)
So while I’m waiting for the Eclipse Foundation to put the content of the release train online, I think that I’ll put everything needed for Acceleo on this repository. If you want to use it, have a look at this screenshot.
Right now there are only the jars of the latest build (I’ll have to see if I push the jars of the latest build automatically easily), but I’ll put the different stable release along with Acceleo dependencies. Of course, that’s a temporary solution but if you need a quick and dirty maven hosting solution, it works :)Lien d'origineAuteur d'origine: sbegaudeau...
With the transition to the latest release of Acceleo, new generators built with Acceleo 3 are coming on the Obeo Marketplace. Among those generators, you will be able to find the first release of the UML to Java generator. This generator will feature several improvements to the basic UI plugin traditionally generated by Acceleo.
Builder
As an answer to a popular request, this generator will include a dedicated builder and a nature that you can activate on any project. Once activated, this nature will create a dedicated properties file in which you will be able to define which “.uml” model should be “watched” and where the Java code from this model should be generated.
Launch Configuration
Regular UI plugin for Acceleo feature an action in the contextual menu to launch the generation. While it “does the job”, it does not provide any customization options to the generation and it can be better integrated in Eclipse. This generator will contain a launc...