Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » Modifying SRC
Modifying SRC [message #986629] Wed, 21 November 2012 09:19 Go to next message
Andrea Sindico is currently offline Andrea SindicoFriend
Messages: 266
Registered: November 2010
Senior Member

I forked the GitHub master repository and imported the following plugins into my Eclipse Workspace:

org.eclipse.ocl
org.eclipse.ocl.capabilities.
org.eclipse.ocl.common
org.eclipse.ocl.common.ui
org.eclipse.ocl.ecore
org.eclipse.ocl.ecore.edit
org.eclipse.ocl.edit
org.eclipse.ocl.ui
org.eclipse.ocl.uml
org.eclipse.ocl.uml.edit
org.eclipse.ocl.uml.ui

the first problem I am facing is that almost all the plugins have errors. However It is not clear where the error is. The error is just depicted in the plugin project but apparently not preset in any of the contained files. I cleaned and built all but the errors remain.

Also I need to know where the XText Grammar is


Regards


Follow me on Twitter @andreasindico

Re: Modifying SRC [message #986660 is a reply to message #986629] Wed, 21 November 2012 10:11 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

Since you give me no clue as to the errors, bad imports or whatever it
is very difficult to comment.

The plugins you imported are for the traditional Ecore-based Ecore/UML OCL.

The new Xtext pivot-based code is of experimental quality and in the
examples plugins.

Regards

Ed Willink


On 21/11/2012 09:19, Andrea Sindico wrote:
> I forked the GitHub master repository and imported the following
> plugins into my Eclipse Workspace:
>
> org.eclipse.ocl
> org.eclipse.ocl.capabilities.
> org.eclipse.ocl.common
> org.eclipse.ocl.common.ui
> org.eclipse.ocl.ecore
> org.eclipse.ocl.ecore.edit
> org.eclipse.ocl.edit
> org.eclipse.ocl.ui
> org.eclipse.ocl.uml
> org.eclipse.ocl.uml.edit
> org.eclipse.ocl.uml.ui
>
> the first problem I am facing is that almost all the plugins have
> errors. However It is not clear where the error is. The error is just
> depicted in the plugin project but apparently not preset in any of the
> contained files. I cleaned and built all but the errors remain.
>
> Also I need to know where the XText Grammar is
>
>
> Regards
>
Re: Modifying SRC [message #986671 is a reply to message #986629] Wed, 21 November 2012 10:44 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea SindicoFriend
Messages: 266
Registered: November 2010
Senior Member

Hi Ed,
thus I guess the latest 4.0.1 version of OCL is still the traditional Ecore-based Ecore/UML OCL and not the experimenal XText Pivot-based code.

Am I right?


Follow me on Twitter @andreasindico

Re: Modifying SRC [message #986689 is a reply to message #986629] Wed, 21 November 2012 11:18 Go to previous messageGo to next message
Andrea Sindico is currently offline Andrea SindicoFriend
Messages: 266
Registered: November 2010
Senior Member

I needed to define a baseline (my bad) but also it seems both the plugins org.eclipse.ocl.ecore and org.eclipse.ocl.uml lack of a dependency to the org.eclipse.ocl.common.
Now the projects are ok.

Is this, I mean the traditional Ecore-based Ecore/UML OCL, the latest 4.0.1 version of OCL?


Follow me on Twitter @andreasindico

Re: Modifying SRC [message #986706 is a reply to message #986671] Wed, 21 November 2012 11:47 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

IF you are importing from GIT

plugins/... are the released plugins
tests/... are tests
examples/... are the example plugins
archive/... is stuff to be forgotten
features/... is relese engineering (probably ignore it)
releng/... is release engineering (ignore it)

You only need ...xtext..., ...pivot..., ...domain..., ...library... from
the examples for the Pivot functionality. (Optionally build, codegen,
console as well).

Regards

Ed Willink


On 21/11/2012 10:44, Andrea Sindico wrote:
> Hi Ed,
> thus I guess the latest 4.0.1 version of OCL is still the traditional
> Ecore-based Ecore/UML OCL and not the experimenal XText Pivot-based code.
>
> Am I right?
Previous Topic:Complete OCL Debugging
Next Topic:EmbeddedXtextEditor and context for expression
Goto Forum:
  


Current Time: Fri Apr 19 19:32:18 GMT 2024

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

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

Back to the top