[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [henshin-dev] multiRule Interpreter
|
Hi Felix,
here is a MultiRule that duplicates all EClasses in a EPackage + their
EAttributes. The names of the duplicates will be prefixed with the
string given as prefix-parameter. Invoking the rule on original.ecore
with prefix="copy_" results in transformed.ecore. This works as
expected. You could include this in the tests since future changes
should not break this behavior.
Regards,
Gregor
but may already
Am 16.01.2012 17:10, schrieb Riegerf@xxxxxxxxxxxxxxxxxxxxxxx:
Hi Christian,
Quoting Christian Krause <henshin.ck@xxxxxxxxx>:
Tests would be really helpful here.
I can implement the Nested Amalgamation tests for the test suite.
If someone else wants to implement (any) tests very urgently (i.e.
before the 2011 model is finalized), please do not modify the existing
.henshin files, as they should be migrated to the henshin 2011 version
first. Migrating henshin files with elements from the intermediate
version was not taken into account while implementing the migration
and thus might not work. This is especially apparent with MultiRules.
Felix
_______________________________________________
henshin-dev mailing list
henshin-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/henshin-dev
Attachment:
MultiRule_duplicateClassesAndAttributes.zip
Description: Zip archive