How to run OCL in Eclipse? [message #1771073] |
Mon, 21 August 2017 17:06 |
Sina Madani Messages: 160 Registered: November 2015 Location: York, UK |
Senior Member |
|
|
Forgive me if I'm missing something obvious, but I can't quite work out how to run an OCL program over a model. I tried with Neon and it didn't work, so I have a fresh install of Eclipse Oxygen and still no luck. Here's what I've tried:
The OCL file is valid according to the parser (no errors). I am trying to run it over "eclipseModel-0.1.xmi" (http://atenea.lcc.uma.es/index.php/Main_Page/Resources/LinTra#Input_Models_3).
Right-click on OCL file -> Run Configurations -> OCL Expression. The path to the model and OCL file are valid - I can even see a list of model elements and expressions. However, I want to run the entire file (all expressions) over the entire model (all elements). Am I using the wrong plug-in / run configuration to do this? I simply want the number of unsatisfied constraints (as EVL provides). Thanks.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.68391 seconds