xtend2, UML2, MWE2 [message #876739] |
Fri, 25 May 2012 04:11  |
Eclipse User |
|
|
|
Hi,
i want to write a code generator for UML2 models and transform it by xtend2. Unfortunately i didn't find a good tutorial or configuration hints.
My Question:
How can i configure the mwe2 file for reading uml2 models, use uml profiles and of course transform it by xtend2.
Anybody an idea where can i find a good tutorial or sample project?
Thx
|
|
|
Re: xtend2, UML2, MWE2 [message #876755 is a reply to message #876739] |
Fri, 25 May 2012 04:37  |
Eclipse User |
|
|
|
Hi
It depends which UML namespaces you want. For Juno, it's much easier
because a UMLResourcesUtil.init() is available to provide the large
number of non-trivial registration for standalone usage. You might get
away with just calling that in an extension of MWE's StandaloneSetup.
The OCL build procedures have UML processing so you might be interested
in following through
/org.eclipse.ocl.examples.build/src/org/eclipse/ocl/examples/build/GeneratePivotModel.mwe2.
Acceleo already has UML code generators. For Juno, OCL adds an Acceleo
template for OCL 2 Java that may eventually be integrated to code
generate constraints as well as structure.
Regards
Ed Willink
On 25/05/2012 09:11, Missing name Mising name wrote:
> Hi,
>
> i want to write a code generator for UML2 models and transform it by
> xtend2. Unfortunately i didn't find a good tutorial or configuration
> hints.
> My Question:
>
> How can i configure the mwe2 file for reading uml2 models, use uml
> profiles and of course transform it by xtend2.
>
> Anybody an idea where can i find a good tutorial or sample project?
>
> Thx
|
|
|
Powered by
FUDForum. Page generated in 0.04244 seconds