Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [xcore] What's the current state?
[xcore] What's the current state? [message #756534] Mon, 14 November 2011 08:53 Go to next message
Hallvard Traetteberg is currently offline Hallvard TraettebergFriend
Messages: 673
Registered: July 2009
Location: Trondheim, Norway
Senior Member
Hi,

I've been using Xcore for a while, getting the code from git, and
patching EMF to make it compile. I believe Ed mentioned somewhere that
the EMF changes are in EMF 2.8, does this mean it's better to start
using Eclipse 2.8 aka Juno?

I was very sorry I couldn't attend EclipseCon Europe this year, e.g.
missing the talk about Xcore. Were there any announcements about an
official release, transition to eclipse from github, or anything
relevant for early adopters? Are there slides available?

Best regards,

Hallvard Trætteberg
Re: [xcore] What's the current state? [message #756580 is a reply to message #756534] Mon, 14 November 2011 12:01 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Hallvard,

Comments below.

On 14/11/2011 9:53 AM, Hallvard Trætteberg wrote:
> Hi,
>
> I've been using Xcore for a while, getting the code from git, and
> patching EMF to make it compile. I believe Ed mentioned somewhere that
> the EMF changes are in EMF 2.8, does this mean it's better to start
> using Eclipse 2.8 aka Juno?
Yes, the HEAD stream and hence the latest 2.8 build contains all the
necessary changes in EMF. Also, Xtext 2.1 is released, so those changes
are available in a build as well.
>
> I was very sorry I couldn't attend EclipseCon Europe this year, e.g.
> missing the talk about Xcore. Were there any announcements about an
> official release, transition to eclipse from github, or anything
> relevant for early adopters? Are there slides available?
I believe all the talks were recorded by the FOSSLC folks. I don't
think they're available yet...
>
> Best regards,
>
> Hallvard Trætteberg


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: [xcore] What's the current state? [message #756894 is a reply to message #756580] Tue, 15 November 2011 13:13 Go to previous messageGo to next message
Hallvard Traetteberg is currently offline Hallvard TraettebergFriend
Messages: 673
Registered: July 2009
Location: Trondheim, Norway
Senior Member
On 14.11.11 13.01, Ed Merks wrote:
>
> Yes, the HEAD stream and hence the latest 2.8 build contains all the
> necessary changes in EMF. Also, Xtext 2.1 is released, so those changes
> are available in a build as well.

Great! I downloaded Eclipse Modeling Tools from
http://www.eclipse.org/downloads/index-developer.php, upgraded to Xtext
2.2 (nightly build) and pulled from Xcore git
(https://github.com/merks/Xcore) and all the error markers went away.

Well, nearly all... the Java and Xtend2 code compiled, but the
Xcore.xtext file still has lots of errors like this one:

Cannot find compatible feature instanceType in sealed EClass XDataType
from imported package http://www.eclipse.org/emf/2011/Xcore: The
existing reference 'instanceType' has an incompatible type
'JvmTypeReference'. The expected type is 'JvmTypeReference'.

Still, the workflow runs and the result works. However, the error
markers are very annoying, because they hide 'real' errors. What's the
cause of these error markers, is because there are several instances of
the 'same' EPackage? What is the standard way of getting rid of them?

> I believe all the talks were recorded by the FOSSLC folks. I don't think
> they're available yet...

I'm looking forward to them.

Hallvard
Re: [xcore] What's the current state? [message #756933 is a reply to message #756894] Tue, 15 November 2011 15:13 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Hallvard,

I've seen those types of things too. We've never had time to track them
down. Sometimes closing the project and opening it again makes it
happy. One of these days we'll need to track down the source of that...


On 15/11/2011 2:13 PM, Hallvard Trætteberg wrote:
> On 14.11.11 13.01, Ed Merks wrote:
> >
>> Yes, the HEAD stream and hence the latest 2.8 build contains all the
>> necessary changes in EMF. Also, Xtext 2.1 is released, so those changes
>> are available in a build as well.
>
> Great! I downloaded Eclipse Modeling Tools from
> http://www.eclipse.org/downloads/index-developer.php, upgraded to
> Xtext 2.2 (nightly build) and pulled from Xcore git
> (https://github.com/merks/Xcore) and all the error markers went away.
>
> Well, nearly all... the Java and Xtend2 code compiled, but the
> Xcore.xtext file still has lots of errors like this one:
>
> Cannot find compatible feature instanceType in sealed EClass XDataType
> from imported package http://www.eclipse.org/emf/2011/Xcore: The
> existing reference 'instanceType' has an incompatible type
> 'JvmTypeReference'. The expected type is 'JvmTypeReference'.
>
> Still, the workflow runs and the result works. However, the error
> markers are very annoying, because they hide 'real' errors. What's the
> cause of these error markers, is because there are several instances
> of the 'same' EPackage? What is the standard way of getting rid of them?
>
>> I believe all the talks were recorded by the FOSSLC folks. I don't think
>> they're available yet...
>
> I'm looking forward to them.
>
> Hallvard


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: [xcore] What's the current state? [message #756952 is a reply to message #756933] Tue, 15 November 2011 17:15 Go to previous messageGo to next message
Hallvard Traetteberg is currently offline Hallvard TraettebergFriend
Messages: 673
Registered: July 2009
Location: Trondheim, Norway
Senior Member
On 15.11.11 16.13, Ed Merks wrote:
> Hallvard,
>
> I've seen those types of things too. We've never had time to track them
> down. Sometimes closing the project and opening it again makes it happy.
> One of these days we'll need to track down the source of that...

It would be great if this one could be solved! If I can be of any help...

My guess is that it's due to loading the 'same' EPackage several times.
I've tried different combinations of URI references (package URIs and
model file references) in the ecore and genmodel files, and never
managed to satisfy genmodel, xtext and mwe at the same time :-( In the
end, the workflow is most important, but having an editor without
markers would be nice.

Hallvard
Re: [xcore] What's the current state? [message #757941 is a reply to message #756952] Tue, 15 November 2011 18:41 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Hallvard,

Definitely it's related to duplicates. At one point I fixed it by
adding an import that's not really needed, but sometimes it comes back
again. I'll need to run under debug control and probably will need the
Kiel guys' help. Hopefully we can do that during my next trip to Kiel.


On 15/11/2011 6:15 PM, Hallvard Trætteberg wrote:
> On 15.11.11 16.13, Ed Merks wrote:
>> Hallvard,
>>
>> I've seen those types of things too. We've never had time to track them
>> down. Sometimes closing the project and opening it again makes it happy.
>> One of these days we'll need to track down the source of that...
>
> It would be great if this one could be solved! If I can be of any help...
>
> My guess is that it's due to loading the 'same' EPackage several
> times. I've tried different combinations of URI references (package
> URIs and model file references) in the ecore and genmodel files, and
> never managed to satisfy genmodel, xtext and mwe at the same time :-(
> In the end, the workflow is most important, but having an editor
> without markers would be nice.
>
> Hallvard


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[CDO] URI format containing information for connection
Next Topic:CIF Simulation
Goto Forum:
  


Current Time: Fri Apr 19 14:49:28 GMT 2024

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

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

Back to the top