[ECL] How to exclude matches / how to run module [message #1121649] |
Mon, 30 September 2013 21:08 |
Alexander Fülleborn Messages: 132 Registered: April 2013 |
Senior Member |
|
|
Hello,
I am still quite new in the Epsilon ETL/ECL topic and have currently two questions/problems:
1.) How do I need to run my ECL script? When I start it, I get some dialogue boxes with progress information that tell me the system does a couple of things. However, neither in the Epsilon console nor in any messages/problems console a result or error is presented. I provide the detail description and minimum example concerning my project in a note and a zip file I attached to this message.
2.) How can I exclude some kind of elements from matching. I would like to compare models that contain classes with generic names that are not relevant for the matching mechanism. I am just interested in certain classes (with a dedicated stereotype) and in the structure of two models (i.e. the relationships between them).
Any helpful hint is very much appreciated.
Kind regards, Alexander
[Updated on: Tue, 05 November 2013 20:02] Report message to a moderator
|
|
|
Re: [ECL] How to exclude matches / how to run module [message #1124507 is a reply to message #1121649] |
Thu, 03 October 2013 15:59 |
|
Hi Alexander,
You can run your ECL transformation in the same way your run your ETL transformation (through an ECL run configuration). To check whether your Class2Class rule is getting executed, you can either add a breakpoint and run your configuration in debug mode (as in Java) or you can modify the compare part of your rule to include a println() statement which should appear in the console.
compare {
("Comparing " + l.name + " with " + r.name).println();
return l.name = r.name;
}
To exclude particular elements you can add guards to your rules.
Cheers,
Dimitris
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05275 seconds