Skip to main content



      Home
Home » Modeling » OCL » Modifying SRC
Modifying SRC [message #986629] Wed, 21 November 2012 04:19 Go to next message
Eclipse UserFriend
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 #986660 is a reply to message #986629] Wed, 21 November 2012 05:11 Go to previous messageGo to next message
Eclipse UserFriend
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 05:44 Go to previous messageGo to next message
Eclipse UserFriend
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?
Re: Modifying SRC [message #986689 is a reply to message #986629] Wed, 21 November 2012 06:18 Go to previous messageGo to next message
Eclipse UserFriend
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?
Re: Modifying SRC [message #986706 is a reply to message #986671] Wed, 21 November 2012 06:47 Go to previous message
Eclipse UserFriend
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 May 23 18:40:40 EDT 2025

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

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

Back to the top