Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [Xcore] Xcore for Xtext 2.6?
[Xcore] Xcore for Xtext 2.6? [message #1374848] Thu, 22 May 2014 20:44 Go to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
Hi

Xtext 2.6 is out, but it looks like the latest release of Xcore still
uses Xtext/Xbase 2.5... at least the current version does not work with
Xbase 2.6

The main error is due to

Caused by: java.lang.ClassNotFoundException:
org.eclipse.xtext.xbase.services.XbaseGrammarAccess$XExpressionInsideBlockElements
cannot be found by org.eclipse.emf.ecore.xcore_1.1.2.v20131212-0836
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 162 more

Is Xcore already being ported to Xtext 2.6?

thanks in advance
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book


Re: [Xcore] Xcore for Xtext 2.6? [message #1376215 is a reply to message #1374848] Fri, 23 May 2014 10:00 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33107
Registered: July 2009
Senior Member
Lorenzo,

Where are you getting the Xcore build from?

On 22/05/2014 10:44 PM, Lorenzo Bettini wrote:
> Hi
>
> Xtext 2.6 is out, but it looks like the latest release of Xcore still
> uses Xtext/Xbase 2.5... at least the current version does not work with
> Xbase 2.6
>
> The main error is due to
>
> Caused by: java.lang.ClassNotFoundException:
> org.eclipse.xtext.xbase.services.XbaseGrammarAccess$XExpressionInsideBlockElements
> cannot be found by org.eclipse.emf.ecore.xcore_1.1.2.v20131212-0836
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> ... 162 more
>
> Is Xcore already being ported to Xtext 2.6?
>
> thanks in advance
> Lorenzo
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: [Xcore] Xcore for Xtext 2.6? [message #1376431 is a reply to message #1376215] Fri, 23 May 2014 12:07 Go to previous messageGo to next message
Hallvard Traetteberg is currently offline Hallvard TraettebergFriend
Messages: 673
Registered: July 2009
Location: Trondheim, Norway
Senior Member
Hi,

I used the Xcore version for Luna M7 and had a similar problem when
updating to new Xtext 2.6 release. Xcore didn't have a corresponding
official update, but switching to the nightly build worked. It would be
good of there also was an update at the Luna site.

Hallvard

On 23.05.14 12:00, Ed Merks wrote:
> Lorenzo,
>
> Where are you getting the Xcore build from?
>
> On 22/05/2014 10:44 PM, Lorenzo Bettini wrote:
>> Hi
>>
>> Xtext 2.6 is out, but it looks like the latest release of Xcore still
>> uses Xtext/Xbase 2.5... at least the current version does not work with
>> Xbase 2.6
>>
>> The main error is due to
>>
>> Caused by: java.lang.ClassNotFoundException:
>> org.eclipse.xtext.xbase.services.XbaseGrammarAccess$XExpressionInsideBlockElements
>>
>> cannot be found by org.eclipse.emf.ecore.xcore_1.1.2.v20131212-0836
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
>>
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
>>
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
>>
>> at
>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
>>
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>> ... 162 more
>>
>> Is Xcore already being ported to Xtext 2.6?
>>
>> thanks in advance
>> Lorenzo
>>
>
Re: [Xcore] Xcore for Xtext 2.6? [message #1376440 is a reply to message #1376431] Fri, 23 May 2014 12:13 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33107
Registered: July 2009
Senior Member
Yes, we've submitted the builds for the next RC version of Luna, at
which point they should be lined up properly. Both Xtext and EMF
(including Xcore) are released and should function well together...


On 23/05/2014 2:07 PM, Hallvard Trætteberg wrote:
> Hi,
>
> I used the Xcore version for Luna M7 and had a similar problem when
> updating to new Xtext 2.6 release. Xcore didn't have a corresponding
> official update, but switching to the nightly build worked. It would
> be good of there also was an update at the Luna site.
>
> Hallvard
>
> On 23.05.14 12:00, Ed Merks wrote:
>> Lorenzo,
>>
>> Where are you getting the Xcore build from?
>>
>> On 22/05/2014 10:44 PM, Lorenzo Bettini wrote:
>>> Hi
>>>
>>> Xtext 2.6 is out, but it looks like the latest release of Xcore still
>>> uses Xtext/Xbase 2.5... at least the current version does not work with
>>> Xbase 2.6
>>>
>>> The main error is due to
>>>
>>> Caused by: java.lang.ClassNotFoundException:
>>> org.eclipse.xtext.xbase.services.XbaseGrammarAccess$XExpressionInsideBlockElements
>>>
>>>
>>> cannot be found by org.eclipse.emf.ecore.xcore_1.1.2.v20131212-0836
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
>>>
>>>
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
>>>
>>>
>>> at
>>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
>>>
>>>
>>> at
>>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
>>>
>>>
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>>> ... 162 more
>>>
>>> Is Xcore already being ported to Xtext 2.6?
>>>
>>> thanks in advance
>>> Lorenzo
>>>
>>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: [Xcore] Xcore for Xtext 2.6? [message #1383801 is a reply to message #1376215] Mon, 26 May 2014 14:49 Go to previous message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 23/05/2014 12:00, Ed Merks wrote:
> Lorenzo,
>
> Where are you getting the Xcore build from?

I was using Xtext composite update site and Kepler update site.

Then I tried with the EMF milestones update site and it worked like a
charm :)
sorry for not getting back earlier about that.

cheers
Lorenzo

>
> On 22/05/2014 10:44 PM, Lorenzo Bettini wrote:
>> Hi
>>
>> Xtext 2.6 is out, but it looks like the latest release of Xcore still
>> uses Xtext/Xbase 2.5... at least the current version does not work with
>> Xbase 2.6
>>
>> The main error is due to
>>
>> Caused by: java.lang.ClassNotFoundException:
>> org.eclipse.xtext.xbase.services.XbaseGrammarAccess$XExpressionInsideBlockElements
>>
>> cannot be found by org.eclipse.emf.ecore.xcore_1.1.2.v20131212-0836
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
>>
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
>>
>> at
>> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
>>
>> at
>> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
>>
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>> ... 162 more
>>
>> Is Xcore already being ported to Xtext 2.6?
>>
>> thanks in advance
>> Lorenzo
>>
>


--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book


Previous Topic:[CDO] Question about locking
Next Topic:[CDO] OCL query failing on a newly started CDO server...
Goto Forum:
  


Current Time: Tue Mar 19 09:04:18 GMT 2024

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

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

Back to the top