|Unregistering OclInEcore in lieu of CompleteOCL at runtime? [message #1693112]
||Tue, 21 April 2015 19:45
| Matt Eby
Registered: February 2013
I have a need to maintian the same set of OCL in both OclInEcore and CompleteOCL format. The short story is that OclInEcore is used internally to a product and the CompleteOCL is used for a published standard.|
I would like to be able to run regression tests against both copies of the OCL using the same set of test models and plugins. With OclInEcore the invariants and operations are registered in the generated model plugin.
What I would like to do is unregister the OclInEcore invariants and operations as part of my test setup so I can then register the CompleteOCL validators and avoid a maintaining a seperate model plugin.
I am able to unregister the invariants with:
However, the operations seem to be still causing ambiguous resolution errors:
Operation : foo::Bar.isValidIdentifier(String) : Boolean
Is there some way to unregister the operations? Or am I crazy for trying this?
[Updated on: Tue, 21 April 2015 20:57]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01630 seconds