[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [henshin-dev] Fwd: Re: Bank Account Example update

I will check that tomorrow! Today I won't make it, sry.

Am 24.02.2012 19:28, schrieb rok:
Hi,

Great example Stefan, thanks! It helps a lot to get started with exogenous transformation.

I'm now trying to apply an exogenous transformation to the ATL example Families 2 Persons (http://www.eclipse.org/m2m/atl/atlTransformations/Families2Persons/Families2Persons.zip).
So far, I can match the mother and the father from a Family and create the transformed Persons. But I'm having a hard time to manage the sons/daughters, since many of them can be specified in the source files, and each of them shall be transformed into a person. My transformation file (see enclosed file) only matches the last specified son from the source file.

How could I do to match each of the sons/daughter please?

Thanks


On Tue, Feb 21, 2012 at 9:41 PM, Stefan Jurack <henshin.stj@xxxxxxxxx> wrote:
Project "Pimp my exogenous transformation example" finished.

I added a Car Rental scenario in terms of an ecore model to be transformed by the oo2rdb transformation.

Regards,
Stefan


Am 21.02.2012 17:33, schrieb Stefan Jurack:
Hi all,

I added an OO2RDB example to our examples plugin. It makes extensive use of multi rules which turned out to work very well.
The transformation translates ecore models into instances of an rdb.ecore model.

However, the scenario is quite boring and I will pimp that up in short terms.


greetx, Stefan


-------- Original-Nachricht --------
Betreff: Re: [henshin-dev] Bank Account Example update
Datum: Mon, 20 Feb 2012 09:37:53 +0100
Von: Stefan Jurack <henshin.stj@xxxxxxxxx>
Organisation: EMF Henshin Team
An: Henshin developers mailing list <henshin-dev@xxxxxxxxxxx>


Hi all,

I already though of adding the common OO-->RDB scenario as (simple) exogenous transformation example. Therefore, I would create a simple RDB ecore model and let arbitrary Ecore files being transformed into instances of the RDB ecore model.

I will come up with a first version at the end of this week.

@Rok: You may also want to have a look at the ecore2genmodel transformation which actually *is* an exogenous transformation; its rather complex though.

Regards,
Stefan

Am 20.02.2012 07:45, schrieb Christian Krause:
Hi,

we are aware of the issue and it will be fixed in the new version. The new version will be released in March. Thank you for your feed back anyway. We will also add an example of an exogenous transformation soon.

Best regards,
Christian

On 02/19/2012 08:35 PM, rok wrote:
Hello,

I have the following issues when running the Bank Account Example using Henshin SDK 0.8.0 with Eclipse Indigo 3.7.1 on windows 7:
  • Preview is not working
  • Rule deleteAllAccounts is not working

I've updated to Henshin SDK 0.8.1 SNAPSHOT but the Bank Account Example files cannot be opened anymore (NPE).

Enclosed are the files for the Bank Account Example that works under SDK 0.8.1. I hope it helps someone.

Note:

  • I couldn't rename the model file. I think making the Eclipse "refactor" functionality work would be great.
  • Also, a simple working example of an exogenous transformation would be very much appreciated.
Regards,



_______________________________________________
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




_______________________________________________
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

Attachment: signature.asc
Description: OpenPGP digital signature