|Re: [ACCELEO] module UML 2.1 To PHP in acceleo 3.0 [message #682624 is a reply to message #682329]
||Sat, 11 June 2011 16:52
| Mariot Chauvin
Registered: July 2009
Le 10/06/2011 22:51, Cl a écrit :
> Hi everybody, i'm new in the acceleo word.
> I had to build a CASE in one of my computer science ingeneering school
Welcome to acceleo world :)
> My question is: does the current version of the UML 2.1 to PHP
> module(search for : 'module-uml2-vers-php' in google, i cannot post the
> link :( ) is compatible with acceleo 3.0?
I think you refer to this : http://acceleo.org/pages/module-uml2-vers-php/
We don't have migrated them yet to acceleo 3 syntax but we have migrated
UML to Java templates :
However feel free to start the migration or start new templates. We hope
that acceleo community will be interested to write and distribute
templates for many languages and frameworks.
> Indeed, i follow the tutorial but in the generated file (which
> correspond to the ones of the module) i only got "hard coded value".
> As you can see, the basic class (entity one) that i put in my uml file
> isn't generated...
I don't see anything (neither in my nntp readers nor in the web forum).
However as written previously these templates have not been migrated, so
you should not expect anything working out of the box.
> I found a page that describe acceleo equivalence (search for :
> 'acceleo_equivalence.html' in google) but it seems that some commands
> are missing (for, ...).
Here is the equivalence table link :
Control structures such as for and if did not change intrinsically.
If you are not confident with new syntax, do not hesitate to use the
code completion, just type "for" and then "CTRL + Space".
Anyway if you have more specific questions, or need help to migrate some
lines from acceleo 2 to acceleo 3 syntax, just ask on this newsgroup/forum.
> Thanks for your help.
> Clément Lefranc
Mariot Chauvin @ Obeo
Blog : http://mariot-thoughts.blogspot.com
Professional support : http://obeo.fr/pages/maintenance-and-support/
|Re: [ACCELEO] module UML 2.1 To PHP in acceleo 3.0 [message #684246 is a reply to message #682910]
||Wed, 15 June 2011 09:39
| Stephane Begaudeau
Registered: April 2010
Location: Nantes (France)
Can i know the main differences between acceleo 2.8 and Acceleo 3.0 (couple with obeo tracability)?
Acceleo 3.x is a completely new version of Acceleo, the language changed to the MOFM2T standard of the OMG and the tooling was greatly improved with:
* static typing, real time error detection and quick fixes
* a profiler, a debugger and the traceability in the result view
* a brand new editor with syntax highlighting, code completion, outlines and refactoring
Contrary to Acceleo 2.x it can also very easily be used outside of Eclipse without any dependencies with Eclipse and you can easily integrate it in an existing Ant or Maven based workflow with Tycho for example.
You can find more about Acceleo 3 in the user guide available on the Obeo Network (there are videos of most of the features available in Acceleo too).
Obeo Traceability on the other hand is a commercial tool built on top of Acceleo to handle the traceability of the generated code. With Traceability you can easily determine what element of the model and what part of the generator have been used to generate a specific piece of code, etc. You can find more about it on the Obeo Network too.
Stephane Begaudeau, Obeo
Acceleo Documentation: http://docs.obeonetwork.com/acceleo
Powered by FUDForum
. Page generated in 0.03195 seconds