Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » How to use Complete OCL files with Papyrus?
How to use Complete OCL files with Papyrus? [message #1724039] Sat, 20 February 2016 06:47 Go to next message
Roberto Saltini is currently offline Roberto SaltiniFriend
Messages: 24
Registered: February 2016
Junior Member
Hi All,

I am trying to load/use a Complete OCL file with Papyrus.

As you can see by validating the project attached, Constraint1 which is defined within Papyrus works fine, whereas the constraint defined in "OCL Complete.ocl" and loaded via OCL->"Load Document" does not work in the sense that OCL->Validate does not detect that this constraint is violated.

Regards,
Roberto.
Re: How to use Complete OCL files with Papyrus? [message #1724044 is a reply to message #1724039] Sat, 20 February 2016 07:40 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 6758
Registered: July 2009
Senior Member
Hi

The failure of Papyrus to fully support the EValidator registration and
so Complete OCL has been a longstanding bug.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=408215

It was resolved fixed on 29-Jan-2006 so the fix may be in M5.

Regards

Ed Willink


On 20/02/2016 06:47, Roberto Saltini wrote:
> Hi All,
>
> I am trying to load/use a Complete OCL file with Papyrus.
>
> As you can see by validating the project attached, Constraint1 which is defined within Papyrus works fine, whereas the constraint defined in "OCL Complete.ocl" and loaded via OCL->"Load Document" does not work in the sense that OCL->Validate does not detect that this constraint is violated.
>
> Regards,
> Roberto.
Re: How to use Complete OCL files with Papyrus? [message #1724441 is a reply to message #1724039] Wed, 24 February 2016 00:15 Go to previous messageGo to next message
Zahra Ali is currently offline Zahra AliFriend
Messages: 1
Registered: February 2016
Junior Member
Hi,

I am facing the same issue. Trying to use ocl with class diagram. Works fine when a constraint is added to the class diagram but doesnt work by loading an ocl document. it always validates. have you figured out a solution?
Re: How to use Complete OCL files with Papyrus? [message #1724551 is a reply to message #1724441] Wed, 24 February 2016 15:06 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 6758
Registered: July 2009
Senior Member
Hi

Have you read the previous message on this thread?

Regards

Ed Willink


On 24/02/2016 14:52, Zahra Ali wrote:
> Hi,
>
> I am facing the same issue. Trying to use ocl with class diagram.
> Works fine when a constraint is added to the class diagram but doesnt
> work by loading an ocl document. it always validates. have you figured
> out a solution?
Previous Topic:[CSS] Filter on fields of type
Next Topic:[Activity Diagram] Object node
Goto Forum:
  


Current Time: Sat Jul 04 23:06:49 GMT 2020

Powered by FUDForum. Page generated in 0.02263 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top