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.
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
>
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?
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?