[ACCELEO] module UML 2.1 To PHP in acceleo 3.0 [message #682329] |
Fri, 10 June 2011 20:51 |
Cl Messages: 3 Registered: June 2011 |
Junior Member |
|
|
Hi everybody, i'm new in the acceleo word.
I had to build a CASE in one of my computer science ingeneering school course.
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?
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 found a page that describe acceleo equivalence (search for : 'acceleo_equivalence.html' in google) but it seems that some commands are missing (for, ...).
Can you help me finding a solution?
Thanks for your help.
Clément Lefranc
[Updated on: Fri, 10 June 2011 20:52] Report message to a moderator
|
|
|
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 Messages: 174 Registered: July 2009 |
Senior Member |
|
|
Hi Clément,
Comments below.
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
> course.
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 :
http://www.obeonetwork.com/page/uml-to-java-generator
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 :
http://help.eclipse.org/helios/topic/org.eclipse.acceleo.doc/doc/html/acceleo_equivalence.html
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
>
Regards,
Mariot
--
Mariot Chauvin @ Obeo
Blog : http://mariot-thoughts.blogspot.com
Twitter :http://twitter.com/mchv
Professional support : http://obeo.fr/pages/maintenance-and-support/
|
|
|
|
Re: [ACCELEO] module UML 2.1 To PHP in acceleo 3.0 [message #684182 is a reply to message #682910] |
Wed, 15 June 2011 07:39 |
|
Clément,
There is currently no "off the shelf" UML to PHP generators available for Acceleo 3.0. You will have to either write your own, or convert the legacy Acceleo 2.8 UML2PHP module. (We plan to migrate it to Acceleo 3, yet it has not been done yet.)
If that module fails with even Acceleo 2.8, you will have to ask on its dedicated forum as I do not have the answer.
Laurent Goubet
Obeo
|
|
|
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 |
|
Hi,
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
etc.
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.
Regards,
Stephane Begaudeau, Obeo
--
Twitter: @sbegaudeau
Blog: http://stephanebegaudeau.tumblr.com
Acceleo Documentation: http://docs.obeonetwork.com/acceleo
|
|
|
|
Powered by
FUDForum. Page generated in 0.04813 seconds