0

i'm using Epsilon Comparison Language for the first time. I am writing a code in order to compare two models, in particular i want to show some information on the default output stream console when the code finds differences between the models. I want to visualize, for example, the name of the involved rule and the differences between the fields under investigation. When the comparison ends without differences i can visualize, for example, all that i need using the matchInfo variable in a "do" block. How can i solve the problem when the code find some differences? Thanks.

asked May 23, 2022 at 10:43

1 Answer 1

0

ECL does not provide any built-in differencing or difference visualisation capabilities. If you need such capabilities my suggestion would be to consider using EMFCompare.

answered May 26, 2022 at 13:24
Sign up to request clarification or add additional context in comments.

1 Comment

I'm solving the problem described in my previous question adding a "not" after the "compare", so i can add information in the info variable when i find differences. Now i have another problem: following this solution i have to write a lot of rules, but i have read that is impossible to invoke the match operation more times on the same element. Do you know how to use the match operation on the same elemente more than once? (i want to invoke it, for example, for every field of an element).

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.