词条 | Acceleo | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
释义 |
| name = Acceleo | logo = Logo-acceleo.gif | logo alt = Acceleo logo | screenshot = | caption = | developer = Eclipse Foundation | latest release version = 3.7.6[1] | latest preview version = | latest preview date = | programming language = Java | platform = Linux, Mac OS X, Microsoft Windows | genre = Code generator | license = Eclipse Public License | website = http://www.eclipse.org/acceleo }} Acceleo is an open-source code generator from the Eclipse Foundation that allows people to use a model-driven approach to building applications. It is an implementation of the "MOFM2T" standard, from the Object Management Group (OMG), for performing model-to-text transformation. History and developmentEarly versionsThe Acceleo project is born in 2006 with the website Acceleo.org. Acceleo 1.0 was licensed under the GNU Public Licence (GPL) and it was compatible with Eclipse 3.0, 3.1 and several modelers based on EMF and UML 1.2. Few weeks later, Acceleo 1.1[2] brought the compatibility with Eclipse 3.2 and UML 1.3. Acceleo changed its licence with the release of Acceleo 1.2 to adopt the Eclipse Public Licence (EPL) used by the projects of the Eclipse Foundation. Acceleo 2[3] was available on June 5, 2007 after the launch of the website planet.acceleo.org which includes articles created by the members of the Acceleo community and the Acceleo modules repository which contains code generators based on Acceleo 2. Entrance in the Eclipse FoundationIn 2009, while moving to Acceleo 3, the project has been accepted in the Eclipse Foundation. During this transition, the language used by Acceleo to define a code generator has been changed to use the new standard from the OMG for model to text transformation, MOFM2T. With the release of Eclipse 3.6 Helios, Acceleo is included in the Eclipse simultaneous release train as an official project of the Eclipse Foundation. Acceleo is an Eclipse plugin and as such it is integrated in the Eclipse IDE. Acceleo is built on top of several key Eclipse technologies like EMF and, since the release of Acceleo 3, the Eclipse implementation of OCL. OCL is a standard language from the OMG to navigate in models and to define constraints on the elements of a model. TrademarkWhile the Acceleo source code is open source, the Acceleo trademark and its logo, integrated in Acceleo, are not open source. They were the trademark of the company Obeo, creator of Acceleo, and they were transferred to the Eclipse Foundation when Acceleo was accepted as an official project.[4] Source codeAcceleo is an Eclipse project mostly developed in Java[5] and available under the Eclipse Public Licence (EPL). The source code of Acceleo 1.x and 2.x is available on SVN on the website of the OW2 Consortium.[6] With its entrance in the Eclipse Foundation in 2009, the source code of Acceleo 3 was transferred from SVN to a CVS based repository on the servers of the Eclipse Foundation.[7] After the release of Eclipse 3.7 Indigo in 2011, the Acceleo project has migrated to Git[8] following the migration started by several official project of the Eclipse Foundation and since July 2011, the Acceleo source code is available on Github.[9] Releases
Supported platformsAcceleo is written in Java and is deployed as a plugin in the Eclipse IDE. Acceleo is supported on Java 5+ based environments, on the following platforms:
The languageStarting with Acceleo 3, the language used to define an Acceleo code generator is an implementation of the MOFM2T standard. This code generation language uses a template based approach. With this approach, a template is a text containing dedicated part where the text will be computed from elements provided by the inputs models. Those dedicated parts are most of the time expressions specified on the entity of the input models used to select and extract information from those models. Within Acceleo, those expression are based on the Eclipse implementation of the OCL language. FeaturesAcceleo provides tools for code generation from EMF based models. Thanks to those tools, Acceleo allows, for example, incremental generation. Incremental generation gives people the ability to generate a piece of code and then modify the generated code and finally regenerating the code once again without losing the previous modifications. Acceleo also allows:
EditorAcceleo contains a code generation modules editor with syntax highlighting, completion, real time error detection and refactoring. DebuggerThe Acceleo debugger gives the possibility to keep an eye on the progression of a generation. It let the user pause a generation with a break point, check the state of the variables and move step by step during a generation to identify problems. ProfilerThe profiler allow the user to figure out all the instructions executed during the generation, the number of time that those instructions have been executed and the time taken by each of those instructions. Profiling data are available in an EMF models after a generation launched with the profiler. It gives the user the ability to find bottleneck in the code generator created. TraceabilityThe Acceleo engine can compute traceability information of all the elements involved in the generation of a file. This system allows, for example, to determine the elements from the input models that have been used to generate a specific piece of text and the part of the code generator that has been involved. Stand-alone useThe parser and the generation engine, critical components of Acceleo, can also be used in "stand-alone", without being deployed on Eclipse. Acceleo generates a Java class to launch the generation programmatically thus allowing the integration of an Acceleo generator in any Java application. This Java launcher can also be called from Ant or Maven. CompatibilityThe latest release of Acceleo is compatible with:[28]
Acceleo is based on the modeling framework EMF. Thus it is compatible with any tool that can produce EMF compatible models. ExampleAcceleo can use any EMF compatible models defined from any kind of metamodel like UML or even a custom DSLs. From this metamodel, the user can define a code generator that will produce any kind of textual language from a model using the metamodel. Here we are using the following elements: EClass, EAttribute and EOperation from EMF. Thanks to the simple module and this input model, Acceleo can generate the former code. The module defined in this example is parameterized to generate Java but the MOFM2T standard is independent of the generated code. When the generator is created, the user can use another model to generate a piece of code with a similar appearance but with a different content. Acceleo integrates several code generation examples to generate Java and Python. Awards
Community and communicationThe Acceleo community is gathered around the Acceleo part of the website of the Eclipse Foundation. The Acceleo documentation[29] is accessible online on the Eclipse Help Center[30] and on the wiki of the Acceleo project.[31] ConferencesThe developers of Acceleo are also communicating with the community thanks to presentation realized in MDA or Eclipse conferences.
References1. ^1 2 3 4 5 6 7 8 9 {{en icon}} {{cite web|url=https://www.eclipse.org/acceleo/downloads/|title=Acceleo Downloads}} 2. ^{{en icon}} {{cite web|url=http://www.acceleo.org/pages/nouveautes-d-acceleo-1-1-0/en|title=Acceleo 1.1.0 release notes|accessdate=2011-08-10}} 3. ^{{en icon}} {{cite web|url=http://www.acceleo.org/pages/telechargement-acceleo-1-2-0/en|title=Acceleo 1.2.0 release notes|accessdate=2011-08-10}} 4. ^{{en icon}} {{cite web|url=http://www.eclipse.org/legal/logo_guidelines.php|title=Eclipse logo guidelines|accessdate=2011-08-10| archiveurl= https://web.archive.org/web/20110629073232/http://www.eclipse.org/legal/logo_guidelines.php| archivedate= 29 June 2011 | deadurl= no}} 5. ^{{en icon}} {{cite web|url=http://www.ohloh.net/p/acceleo-eclipse/analyses/latest|title=Ohloh code analysis|accessdate=2011-08-10}} 6. ^{{en icon}} {{cite web|url=http://forge.ow2.org/projects/acceleo|title=Acceleo 1 & 2 source code on the OW2 Forge|accessdate=2011-08-10}} 7. ^{{en icon}} {{cite web|url=http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.m2t/org.eclipse.acceleo/?root=Modeling_Project|title=Acceleo 3 source code on CVS (read only)|accessdate=2011-08-10}} 8. ^{{en icon}} {{cite web|url=http://dev.eclipse.org/mhonarc/lists/m2t-dev/msg00643.html|title=Acceleo migrates to Git|accessdate=2011-08-10}} 9. ^{{en icon}} {{cite web|url=https://github.com/eclipse/acceleo|title=Acceleo 3 source code on Github|accessdate=2011-08-10}} 10. ^{{en icon}} {{cite web|url=http://www.acceleo.org/pages/nouveautes-d-acceleo-1-1-0/en|title=Acceleo 1.1.0 release notes|accessdate=2011-08-10}} 11. ^{{en icon}} {{cite web|url=http://www.acceleo.org/pages/nouveautes-d-acceleo-1-2-0/en|title=Acceleo 1.2.0 release notes|accessdate=2011-08-10}} 12. ^{{en icon}} {{cite web|url=http://www.acceleo.org/pages/nouveautes-d-acceleo-2-0-0/en|title=Acceleo 2.0.0 release notes|accessdate=2011-08-10}} 13. ^{{en icon}} {{cite web|url=http://www.acceleo.org/pages/nouveautes-d-acceleo-2-1-0/en|title=Acceleo 2.1.0 release notes|accessdate=2011-08-10}} 14. ^{{en icon}} {{cite web|url=http://www.acceleo.org/pages/nouveautes-d-acceleo-2-2-0/en|title=Acceleo 2.2.0 release notes|accessdate=2011-08-10}} 15. ^{{en icon}} {{cite web|url=http://www.acceleo.org/pages/nouveautes-d-acceleo-2-3-0/en|title=Acceleo 2.3.0 release notes|accessdate=2011-08-10}} 16. ^{{en icon}} {{cite web|url=http://www.acceleo.org/pages/nouveautes-d-acceleo-2-4-0/en|title=Acceleo 2.4.0 release notes|accessdate=2011-08-10}} 17. ^{{en icon}} {{cite web|url=http://www.acceleo.org/pages/nouveautes-d-acceleo-2-5-0/en|title=Acceleo 2.5.0 release notes|accessdate=2011-08-10}} 18. ^{{en icon}} {{cite web|url=http://www.acceleo.org/pages/nouveautes-d-acceleo-2-6-0/en|title=Acceleo 2.6.0 release notes|accessdate=2011-08-10}} 19. ^{{en icon}} {{cite web|url=http://www.acceleo.org/pages/nouveautes-d-acceleo-2-7-0/en|title=Acceleo 2.7.0 release notes|accessdate=2011-08-10}} 20. ^{{en icon}} {{cite web|url=http://wiki.eclipse.org/Acceleo/ReleaseReview/Helios#Helios_Release_Highlights|title=Acceleo 3.0.0 release notes|accessdate=2011-08-10}} 21. ^{{en icon}} {{cite web|url=http://wiki.eclipse.org/Acceleo/ReleaseReview/Indigo#New_and_noteworthy|title=Acceleo 3.1.0 release notes|accessdate=2011-08-10}} 22. ^{{en icon}} {{cite web|url=http://wiki.eclipse.org/Acceleo/ReleaseReview/3.2#New_and_noteworthy|title=Acceleo 3.2.0 release notes|accessdate=2011-10-27}} 23. ^{{en icon}} {{cite web|url=https://wiki.eclipse.org/Acceleo/ReleaseReview/3.3|title=Acceleo 3.3.0 release notes|accessdate=2015-03-05}} 24. ^{{en icon}} {{cite web|url=http://wiki.eclipse.org/Acceleo/New_And_Noteworthy#Acceleo_3.4.0|title=Acceleo 3.4.0 release notes|accessdate=2015-03-05}} 25. ^{{en icon}} {{cite web|url=http://wiki.eclipse.org/Acceleo/New_And_Noteworthy#Acceleo_3.5.0|title=Acceleo 3.5.0 release notes|accessdate=2015-03-05}} 26. ^{{en icon}} {{cite web|url=https://projects.eclipse.org/projects/modeling.acceleo/reviews/3.6.0-release-review|title=Acceleo 3.6.0 release notes|date=2015-06-10}} 27. ^{{en icon}} {{cite web|url=https://projects.eclipse.org/projects/modeling.acceleo/reviews/3.7.0-release-review|title=Acceleo 3.7.0 release notes|date=2016-11-16}} 28. ^{{en icon}} {{Cite web|url=https://projects.eclipse.org/projects/modeling.acceleo/releases/3.7.0/plan|title=Acceleo 3.7.0 Release Plan|date=2016-11-16|language=en}} 29. ^{{en icon}} {{cite web|url=http://eclipse.org/acceleo/documentation/|title=Acceleo documentation|accessdate=2011-08-10}} 30. ^{{en icon}} {{cite web|url=http://help.eclipse.org/indigo/index.jsp?nav=%2F5|title=Acceleo documentation on the Eclipse Help Center|accessdate=2011-08-10}} 31. ^{{en icon}} {{cite web|url=http://wiki.eclipse.org/Acceleo|title=Acceleo wiki|accessdate=2011-08-10}} 32. ^{{en icon}} {{cite web|url=http://www.eclipsecon.org/2009/sessions?id=387 |title=EclipseCon 2009 - Eclipse MTL: a Real Standard Alternative for Code Generation |accessdate=2011-08-10 |deadurl=yes |archiveurl=https://web.archive.org/web/20110728120245/http://www.eclipsecon.org/2009/sessions?id=387 |archivedate=2011-07-28 }} 33. ^{{en icon}} {{cite web|url=http://www.eclipsecon.org/summiteurope2010/sessions/?page=sessions&id=1833 |title=Eclipse Summit Europe 2010 - Creating a Language for Android Apps with Eclipse Modeling |accessdate=2011-08-10 |deadurl=yes |archiveurl=https://web.archive.org/web/20111001095754/http://www.eclipsecon.org/summiteurope2010/sessions/?page=sessions&id=1833 |archivedate=2011-10-01 }} 34. ^{{en icon}} {{cite web|url=http://www.topcased.org/index.php/content/view/53|title=Topcased Days 2011 - Acceleo|accessdate=2011-08-10}} 35. ^{{en icon}} {{cite web|url=http://www.codegeneration.net/cg2011/sessioninfo.php?session=24|title=Code Generation 2011 - And you thought you knew template based code generator?|accessdate=2011-08-10}} External links{{Commons category|Acceleo}}
4 : Eclipse (software)|UML tools|Free UML tools|2006 software |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。