[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [henshin-dev] mapping
|
Hi Amalia,
how do you start the transformation? If you plan to do some
metamodel evolution, you shall use a Java code based approach since
you need to add some meta-models to the EmfGraph as well. This can
be seen in the Ecore2Genmodel example.
Am 13.09.2011 09:09, schrieb NA S:
Also, is there an easy way to update the ecore file in henshin
after it has been changed? (for example, adding attribute). The
only way I did was to restart the eclipse.
Do you mean it does not change within the Henshin Editor or what
exactly is the problem?
A restart of eclipse is only necessary if you use an EMF eclipse
plugin with generated EMF model code that changes together with the
corresponding ecore model.
I recommend you to have a look at the Ecore2Genmodel example again
and reduce it to your minimal needs.
Regards,
Stefan
Amalia
From: anoniems@xxxxxxxx
To: henshin.stj@xxxxxxxxx
Subject: RE: [henshin-dev] mapping
Date: Mon, 12 Sep 2011 22:31:11 +0100
Hello Stefan,
I've been trying to produce the simplest example of this but
I'm facing new difficulties. If you open "rule0" in
test.henshin, there are Chart and Marker nodes. I should be
able to create a new edge between these nodes, but I
couldn't. I have no idea why?
Amalia
Date: Mon, 12 Sep 2011 11:24:49
+0200
From: henshin.stj@xxxxxxxxx
To: henshin-dev@xxxxxxxxxxx
CC: anoniems@xxxxxxxx
Subject: Re: [henshin-dev] mapping
Amalia,
hardly to say. Could you send a minimal example Eclipse
project which demonstrates your intend and the error.
Regards,
Stefan
Am 09.09.2011 13:10, schrieb NA S:
Hello again,
I've created a mapping ecore for marking purpose
similar to the Ecore2GenModel example. Whenever I
try to do the model transformation, I keep on
getting error. The simplest way I did was to add a
Marker class on the RHS which points to an object
(for example State). When I deleted the Marker, it
worked fine. But when I added it, I got an error:
Exception in thread "main"
java.lang.NullPointerException.
Is there something I'm missing here?
Thanks in advance.
Kind regards,
Amalia
_______________________________________________
henshin-dev mailing list
henshin-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/henshin-dev
|
Attachment:
signature.asc
Description: OpenPGP digital signature