Imagine you have a metamodel that reference other metamodels and you want to create a generator for this metamodel. Let's take an example :The first metamodel contains an EClass named Object that have a reference package of type EPackage. That create
... [More]
a reference to the ECore metamodel.First we have to create a template for the first metamodel :%metamodel http://www.obeo.fr/firstimport manymetamodels.ecore%>%script type="first.Object" name="default" file="test.txt"%>Object %name%> :%package.default%>Then we need to create the template manymetamodels.ecore.mt :%metamodel http://www.eclipse.org/emf/2002/Ecore%>%script type="ecore.EPackage" name="default"%>EPackage %name%>.And that's all. So you just need to create at least one template per metamodel and then inport them according to the way you navigate your metamodels. [Less]
|
Imagine you have a metamodel that reference other metamodels and you want to create a generator for this metamodel. Let's take an example :The first metamodel contains an EClass named Object that have a reference package of type EPackage. That create
... [More]
a reference to the ECore metamodel.First we have to create a template for the first metamodel :%metamodel http://www.obeo.fr/firstimport manymetamodels.ecore%>%script type="first.Object" name="default" file="test.txt"%>Object %name%> :%package.default%>Then we need to create the template manymetamodels.ecore.mt :%metamodel http://www.eclipse.org/emf/2002/Ecore%>%script type="ecore.EPackage" name="default"%>EPackage %name%>.And that's all. So you just need to create at least one template per metamodel and then inport them according to the way you navigate your metamodels. [Less]
|
I'm really proud to announce that Acceleo 3.0 is out. It comes with Eclipse 3.6. Acceleo 3.0 combines nice tooling, simple syntax and efficient code generation with all the pragmatism we had with the 2.x stream.As you probably know, Eclipse Helios is
... [More]
out! Obeo was greatly involved in this release. Note that there will be an Eclipse Modeling Webinar today (June 24 at 7pm CEST). I'll talk about the new features we have added this year.Wanted : 70 players for the EEF Eclipse World Cup forecasts! 3 players more and it's done. I'm really glad to be on the top 10, but the first guy is flying... Don't miss the final phase, the score will be multiplied by 2! It's easy to come into the game. Come at any time! See the rules.Obeo was involved in several projects of the Helios simultaneous release :Acceleo 3.0 is a pragmatic implementation of the OMG Model-to-text specification. It supports the developper with most of the features that can be expected from a top quality code generator IDE: simple syntax, efficient code generation, advanced tooling, features on par with the JDT... Acceleo also has a unique tooling around example-based design of code generators.ATL 3.1 is definitively THE model-to-model transformation language in Eclipse.EEF is another way to improve the EMF model creation and it aims to improve the EMF.Edit and EMF.Editor JET code generators.Amalgamation is the project that leads the creation of the modeling bundle, it has an easy one click discover and install wizard.EMF Compare 1.1 mainly brings performances enhancements : ID based matching and heuristic based matching have been enhanced by a 10 factor. EMF Compare has now better support for fragmented model during the comparison.SCA Tools provides a set of tools for the Service Component Architecture (SCA) set of standards. The 2.1 release brings compatibility with the OASIS specifications. The SCA Designer has been updated to work with Tuscany 2.x... [Less]
|
Hi all,I am proud to announce that Helios is shipped in time this year ! you can find it here :www.eclipse.org/heliosEEF is also shipped with the modeling package :http://www.eclipse.org/downloads/packages/ Want the update site ? no problem, it is
... [More]
here :http://download.eclipse.org/modeling/emft/eef/updates/releases/Finally, if you want to download the release version of EEF ( 0.8.0 ), it is here :http://www.eclipse.org/modeling/emft/downloads/index.php?project=eefI hope this year again eclipse simultaneous release will provide you the best tools for developing your applications ! [Less]
|
Very sad day for french people, French team is probably out of the competition, thanks to Nicolas, Sidney and ... of course Raymond. Anyway, Here is the current rating in the Eclipse community :Came from the end of ranking ldelaigue lead now the
... [More]
game. lredor is second, arichard third and Jens fourth. Finally fmaillet is always in top 5.Sorry for Jonathan and Cédric who are now ranked 8th and 10th of the game. More information on : Forecast ranking.I've just added the source code of the Eclipse Worldcup Forecast application on the Eclipse CVS. You can find it in the test directory of the eef project. Here is a PSF file.Feel free to create you're own extension for the Eclipse WorldcupForecast Application ;) [Less]
|
The survey has been going on for more than one week now and the trends are only enforcing themselves. Let's summarize it:First, the audience represents many non-commiters (2/3) though the commiters are still quite represented. That's quite consistent
... [More]
with what I was expecting, the survey was published on the planet, some newsgroups and through twitter and as such targeting commiter or adopters following quite closely what's happening in Eclipse Modeling.Concerning the package size, we're right now at 250MB, it looks like it's mostly ok but being a bit smaller would still be nice.As the package is an SDK we could probably drop most of the dupplicated javadoc in the plugins.This one is interesting, it's something we're hearing and hearing again at each Eclipse conference, users do want more documentation, moreover best practices are hard to reveal through the wiki, newsgroup and online help jungle.There is probably something to do here but, hey, there is an EMF Book already, an Eclipse Modeling one and everybody can contribute on the wiki, so why isn't this urgent need covered yet ?It might be because:People are not even aware of these books or books are old fashioned now : all content should be on the web !It's so hard to understand what each project is providing that one really needs some Modeling Guide.As a user you always want doc even if you won't ever read it, it just gives you the confidence that the technology is not going to vanish in a glimpse.[ ] ----- any opinion expressed through the commentsIt's even more disturbing when ...yes, most people would be willing to give time to make this happen. We might need to do something here, maybe crowdsourcing the doc would do the trick... What is pretty sure is I wouldn't like it if Eclipse Modeling commiters spent half of their time documenting : we should make it easier for the adopters to contribute back. And yes, writting doc and books takes a huge amount of time ! I asked another related question in the survey about "examples". In fact examples are way easier to provide and in my opinion are more valuable in most cases. And when you look at it, each project is already building its own examples, but these examples cannot be composed in some way. Just like Toast is a best practices application for OSGi, we would need a modeling one. At its beginning the Amalgam project was providing some; yet since these examples were not part of their target Eclipse project (EMF examples in EMF, ATL examples in ATL) they were not maintained correctly. As a result they are not reflecting the "state of the art" of Eclipse Modeling anymore... Maybe for the next release !I'm done for the strong trendes, others questions like "Having on the shelf design and generation tools" or "Domain focused UI instead of component focused one" were quite uncertain.A few more ideas or questions have been given through this survey, It will take another blog post to describe those.Thanks again for your feedback ! [Less]
|
I would like to go further with the Eclipse World Cup 2010 application, to help skeptical people to believe in modeling technologies. The EEF team created an RCP 'forecasts' game. Yersterday, someone said that exporting the results in HTML could
... [More]
improve this game. No sooner said than done.The RCP application comes with a metamodel project : 'fr.obeo.dsl.worldcupforecast'. Here is a short description of how to make a simple HTML generator with Acceleo, based on this 'forecasts' metamodel.It is recommended to use a bottom-up approach when developing generators; Acceleo eases this process by allowing you to initialize the content of a generation module with an HTML example, and offering specific actions to transform these examples (static text) in dynamic OCL expressions.Let's create the 'results.html' example file which contains an image and a single row line.We create the code generation project with the new HTML code generation file.The main template is initialized with the example content. It is based on the 'forecasts' metamodel.We would like to create a row line for each player, starting from the best to the least score. Thus, we create a 'for' statement to iterate over the players.Finally, we run the coge generator on the forecasts model. It's done!Note that you can directly access the online model in your launcher. [Less]
|
3 days of world cup, we can do a first check of the game results :lredor and Cedric lead the game with 18 points. After, there is SMonnier, Jonathan and fmaillet with 17 points. Well played ! It's not too late to start playing if you want to join us
... [More]
in the game. To play, just download the application : windows windows64 linux linux64 macosx macosx64And add a new player. You're 18 points late but it remains 224 points to win !!To finish, let me remind you the process to validate your forecasts :Fill out your forecast in the applicationSave the modificationThen use the menu "World Cup Forecasts > Commit" to send your datasIf you not save before commit or you not commit, the default score (0-0) we be validate and use to compute your score !Let's play ! [Less]
|
The first day is complete and results are online. Get the results with the menu "World Cup Results and Rating".I'm glad to be in the first part of the Rating view ;-)This post is also a reminder. Goulwen validates the 'forecast of the day' at 6am UTC. It's easy to come into the game. Come at any time! See the rules.
|
hi people,Helios is almost here, just 2 weeks to wait !We had some hard times during all the RC release process, but we succeed to provide the final bits of EEF.If you want to test it now, and see a sample of what you can creates with EMF and EEF, check out our great sample : http://wiki.eclipse.org/EEF_Sample_World_Cup_ForecastsGo play ! :)
|