Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [henshin-dev] issue running Ecore2Genmodel example and question about documentation

Perhaps it is a good idea to publish the Muvitor-editor separately somewhere on a TU website and put a link to that side into the wiki...

Am 12.12.2010 11:16, schrieb Enrico Biermann:
Hello Eyrak,

you are right, there was a bug with passing the parameter from the
subunits to unitApp1. It will be fixed in the next version. Thanks for
reporting it.

The example was created with an editor for Henshin developed at TU
Berlin which is not part of the official Henshin-plugin. However the
official Henshin release contains two editors, an extended tree-based
editor based on the generated EMF editor which provides several
improvements to create syntactical correct Henshin files and a graphical
GMF-based editor which can be initialized by opening the context menu of
a Henshin file and selecting "Initialize henshin_diagram file".

As for documentation, apart from the wiki and examples, there is no
additional documentation at the moment I am afraid but it is something
we are currently working on to correct

Regards,
Enrico

On 11.12.2010 03:37, Eyrak Paen wrote:
Hello,
I am wondering if there are any known issues with the Ecore2Genmodel
example? I can run the other ones, but this one does not seem to run
completely.

I installed Henshin SDK v0.6.0.I201009090000 into a fresh Eclipse 3.6
SR1 (Modeling Tools) environment.

After calling unitApp1.execute() (Ecore2GenmodelTrafo.java:90), the
genModel parameter is null. Then I get the following exception when it
tries to save the genmodel file:

---
Exception in thread "main" java.lang.IllegalArgumentException: The 'no
null' constraint is violated
	...
	...
	at
org.eclipse.emf.common.util.AbstractEList.add(AbstractEList.java:307)
	at
org.eclipse.emf.henshin.examples.ecore2genmodel.Ecore2GenmodelTrafo.saveGenModel(Ecore2GenmodelTrafo.java:131)
	at
org.eclipse.emf.henshin.examples.ecore2genmodel.Ecore2GenmodelTrafo.generateEcore2Genmodel(Ecore2GenmodelTrafo.java:113)
	at
org.eclipse.emf.henshin.examples.ecore2genmodel.Ecore2GenmodelTrafo.main(Ecore2GenmodelTrafo.java:172)
---

I am also wondering how Ecore2Genmodel.henshin was developed -- was it
created entirely in the EMF tree editor?

Finally, is there any documentation about the classes in the henshin
metamodel, apart from the articles in the wiki?

Regards,
Eyrak Paen

Master's Student
Queen's University School of Computing

_______________________________________________
henshin-dev mailing list
henshin-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/henshin-dev
_______________________________________________
henshin-dev mailing list
henshin-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/henshin-dev



Back to the top