Using OCL MDT sources from git [message #911898] |
Wed, 12 September 2012 10:46  |
Eclipse User |
|
|
|
Dear all,
I try to reuse MDT OCL sources from
https://github.com/eclipse/ocl.git
I try to resolve all dependencies and errors.
I managed to solve many dependencies and errors.
However, some ones are still not solved like for example
Description Resource Path Location Type
Name clash: The method getPivotOf(MetaModelManager, Class<T>, EObject) of type CompleteOCLCS2Pivot.Factory has the same erasure as getPivotOf(MetaModelManager, Class, EObject) of type MetaModelManager.Factory but does not override it CompleteOCLCS2Pivot.java /org.eclipse.ocl.examples.xtext.completeocl/src/org/eclipse/ocl/examples/xtext/completeocl/cs2pivot line 59 Java Problem
,
Description Resource Path Location Type
Package 'org.eclipse.imp.editor' does not exist in this plug-in MANIFEST.MF /org.eclipse.ocl.examples.editor.ui/META-INF line 24 Plug-in Problem
and many of
Description Resource Path Location Type
The annotation @NonNull is disallowed for this location AbstractBaseCSVisitor.java /org.eclipse.ocl.examples.xtext.base/emf-gen/org/eclipse/ocl/examples/xtext/base/util line 38 Java Problem
I use the master branch and I don't know if it is the good one to use.
Can you please tell me what is the required configurations of Eclipse, java, and EMF
and the required branch to use.
Please Help me
Thanks
|
|
|
Re: Using OCL MDT sources from git [message #911974 is a reply to message #911898] |
Wed, 12 September 2012 13:22   |
Eclipse User |
|
|
|
Hi
You need to install from
http://www.eclipse.org/jdt/core/beta-null-annotations-for-fields as
described in http://wiki.eclipse.org/JDT_Core/Null_Analysis/Beta.
Regards
Ed Willink
On 12/09/2012 15:47, Fy Za wrote:
> Dear all,
> I try to reuse MDT OCL sources from https://github.com/eclipse/ocl.git
>
> I try to resolve all dependencies and errors.
> I managed to solve many dependencies and errors.
> However, some ones are still not solved like for example
> Description Resource Path Location Type
> Name clash: The method getPivotOf(MetaModelManager, Class<T>, EObject)
> of type CompleteOCLCS2Pivot.Factory has the same erasure as
> getPivotOf(MetaModelManager, Class, EObject) of type
> MetaModelManager.Factory but does not override it
> CompleteOCLCS2Pivot.java
> /org.eclipse.ocl.examples.xtext.completeocl/src/org/eclipse/ocl/examples/xtext/completeocl/cs2pivot
> line 59 Java Problem
>
>
> ,
>
> Description Resource Path Location Type
> Package 'org.eclipse.imp.editor' does not exist in this plug-in
> MANIFEST.MF /org.eclipse.ocl.examples.editor.ui/META-INF line 24
> Plug-in Problem
>
>
> and many of
>
> Description Resource Path Location Type
> The annotation @NonNull is disallowed for this location
> AbstractBaseCSVisitor.java
> /org.eclipse.ocl.examples.xtext.base/emf-gen/org/eclipse/ocl/examples/xtext/base/util
> line 38 Java Problem
>
>
> I use the master branch and I don't know if it is the good one to use.
> Can you please tell me what is the required configurations of Eclipse,
> java, and EMF
> and the required branch to use.
>
> Please Help me
> Thanks
|
|
|
|
|
|
|
|
|
|
Re: Using OCL MDT sources from git [message #988532 is a reply to message #988497] |
Fri, 30 November 2012 06:40  |
Eclipse User |
|
|
|
Hi
make sure you edit OCL-2.4.oclstdlib with the workspace OCLstdlib
editor, not the Juno editor that you may have installed.
i.e. edit it in a nested workspac.
Regards
Ed Willink
On 30/11/2012 09:26, Fy Za wrote:
> After resolving all dependencies (0 errors :) ),
> I try to edit org.eclipse.ocl.examples.library/model/OCL-2.4.oclstdlib.
> when I open it, 689 errors was generated:
> Description: Error executing EValidator
> Resource: OCL-2.4.oclstdlib
> Path: /org.eclipse.ocl.examples.library/model
> Location: /org.eclipse.ocl.examples.library/model/OCL-2.4.oclstdlib
> Type: Xtext Check (fast)
>
> Do you know what I should do Please?
>
> Best regards,
> Fy Za
>
|
|
|
Powered by
FUDForum. Page generated in 0.05140 seconds