|Re: Extending OCL MDT using Xtext [message #910779 is a reply to message #910719]
||Mon, 10 September 2012 11:33
| Ed Willink
Registered: July 2009
Currently only the OCLstdlib editor uses JVM references, so only the
OCLstdlib plugins and build script have the necessary declarations.
I found them slightly difficult to get right.
So either diff the OCLstdlib and CompleteOCL
manifest/plugin/.classpath/.project/*.mwe to see the differences
Or search the OCLstdlib artefacts for "jvm"
Or follow advice in the Xtext documentation, and messages on this newsgroup
to activate JVM references.
On 10/09/2012 10:21, Fy Za wrote:
> Dear Ed,
> thank you for reply.
> I tried to use exactly the same approach as developing CompleteOCL,
> In Eclipse Juno, I
> 1) create xtext project
> 2)import plugins dependencies (org....completeocl_3.2.0, org.essentialocl_3.2.0,
> org........base_3.2.0 and org......pivot_3.2.0)
> 3)create a new folder named model and I put in my .ecore
> 4)I generate the gen model
> and when I try to generate the model code, many errors in the generator mwe2 are shown like (Couldn't resolve reference to JvmType 'Generator' and Couldn't resolve reference to JvmIdentifiableElement 'pathRtProject'.)
> I join the main project in this message
> please help me to correct these errors and generate my editor code.
Powered by FUDForum
. Page generated in 0.02521 seconds