Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » EssentialOCL->Pivot->Ecore conversion
EssentialOCL->Pivot->Ecore conversion [message #1367035] Mon, 19 May 2014 15:53 Go to next message
ModelGeek Mising name is currently offline ModelGeek Mising nameFriend
Messages: 550
Registered: June 2011
Senior Member
In the attached plugin project, i am trying to load model\abc.ocl model and then i am doing CS->Pivot->Ecore conversion. The resource from CS->Pivot is converting but Pivot->Ecore return empty resource.

Please check PivotOCL.java and loadEssentialOCL method.

Just run the plugin and you will see index out of bound exception as resource is empty.

Can you please have a look and tell why conversion is resulting into empty resource.

thank you so much for support!

Re: EssentialOCL->Pivot->Ecore conversion [message #1367060 is a reply to message #1367035] Mon, 19 May 2014 16:05 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
I'll have a look, but it's OCL RC1 this evening and QVTd RC1 tomorrow so
I'm kind of busy getting the OCL debugger launches useable.

Regards

Ed

On 19/05/2014 16:53, ModelGeek Mising name wrote:
> In the attached plugin project, i am trying to load model\abc.ocl model and then i am doing CS->Pivot->Ecore conversion. The resource from CS->Pivot is converting but Pivot->Ecore return empty resource.
>
> Please check PivotOCL.java and loadEssentialOCL method.
>
> Just run the plugin and you will see index out of bound exception as resource is empty.
>
> Can you please have a look and tell why conversion is resulting into empty resource.
>
> thank you so much for support!
>
>
Re: EssentialOCL->Pivot->Ecore conversion [message #1368672 is a reply to message #1367060] Tue, 20 May 2014 08:14 Go to previous message
ModelGeek Mising name is currently offline ModelGeek Mising nameFriend
Messages: 550
Registered: June 2011
Senior Member
I have figured out the problem, the .ocl file did not contain correct import path to ecore file. Once i fixed that conversion was successful.

[Updated on: Tue, 20 May 2014 08:14]

Report message to a moderator

Previous Topic:OCL Pivot - Visitor implementation
Next Topic:PivotEObjectValidator with existing validator
Goto Forum:
  


Current Time: Tue Mar 19 08:56:11 GMT 2024

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

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

Back to the top