Using OCL MDT sources from git [message #911898] |
Wed, 12 September 2012 14:46 |
Fy Za Messages: 245 Registered: March 2010 |
Senior Member |
|
|
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 17:22 |
Ed Willink Messages: 7670 Registered: July 2009 |
Senior Member |
|
|
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 #912314 is a reply to message #911974] |
Thu, 13 September 2012 10:25 |
Fy Za Messages: 245 Registered: March 2010 |
Senior Member |
|
|
Ed...
Thank you very much.
The problem is solved.
However, I have a problem about installing
org.eclipse.emf.examples.
Using EMF update site http://download.eclipse.org/modeling/emf/updates/releases/
I try to install EMF Examples in the EMF SDK 2.5.0 (EMF+SDK),
So I have this message
Cannot complete the install because one or more required items could not be found.
Software being installed: EMF Examples 2.5.0.v200906151043 (org.eclipse.emf.examples.feature.group 2.5.0.v200906151043)
Missing requirement: EMF Examples 2.5.0.v200906151043 (org.eclipse.emf.examples.feature.group 2.5.0.v200906151043) requires 'org.eclipse.platform.feature.group [3.3.0.v20061208-Fj22sCYGm0XDWm3,4.0.0)' but it could not be found
NB: I find that all the others packages in EMF SDK 2.5.0 was installed automatically
Can you please help me.
Thanks
[Updated on: Thu, 13 September 2012 10:28] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04469 seconds