|Re: Status of code generation in Papyrus? [message #1030124 is a reply to message #1030018]
||Sat, 30 March 2013 18:27
| Ed Willink
Registered: July 2009
It depends what you mean by code generation.
If you just want class structure (Package, Class, Property, Operation) ,
that has been available for a long time via the UML to Ecore converter.
EMF supports generation of Java from the Ecore model.
If you also want OCL elaboration of Class invariants and Operation
bodies, then you will be pleased to know that a stupid bug has been
fixed for Kepler so that the OCL is correctly expressed as Ecore
delegates for interpretation at run-time. You may be even more pleased
that the OCL to Java code generator is fully integrated so that if you
genmodel you get compiled Java for the OCL.
If you also want more advanced UML facilities such as State Machines,
you need to look for additional tooling. I suspect that Acceleo may have
You may note that none of the above is a Papyrus facility; they are more
On 30/03/2013 14:54, Jay Billings wrote:
> I have imported a UML model from IBM Rational Software Architect into
> Papyrus and I would like to generate code from it. I found some
> tutorials on the old Papyrus site showing videos of the code generator
> (run via run configurations), but it appears to be unavailable in
> Eclipse Juno SR2. It is listed, but not discussed in the user's guide at:
> Could someone please tell me what the status is of this capability? It
> is available now, planned for some future release or unplanned?
Powered by FUDForum
. Page generated in 0.02300 seconds