Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtext 2.0: which eclipse platform is required?
Xtext 2.0: which eclipse platform is required? [message #645253] Thu, 16 December 2010 09:37 Go to next message
Mark Christiaens is currently offline Mark ChristiaensFriend
Messages: 63
Registered: October 2010
Member
From http://dev.eclipse.org/newslists/news.eclipse.modeling.tmf/m sg00675.html I understand that at least Eclipse 3.5 is required for Xtext 1.0.x.

What will be the supported platform(s) for Xtext 2.0?
Re: Xtext 2.0: which eclipse platform is required? [message #645299 is a reply to message #645253] Thu, 16 December 2010 13:56 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Hi Mark,

Xtext 2.0 will likely be usable with Eclipse 3.5 and newer. It is
unlikely that we'll backport it for Eclipse 3.4.

Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

Am 16.12.10 10:37, schrieb Mark Christiaens:
> From
> http://dev.eclipse.org/newslists/news.eclipse.modeling.tmf/m sg00675.html
> I understand that at least Eclipse 3.5 is required for Xtext 1.0.x.
> What will be the supported platform(s) for Xtext 2.0?
Re: Xtext 2.0: which eclipse platform is required? [message #651344 is a reply to message #645299] Sat, 29 January 2011 16:00 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7670
Registered: July 2009
Senior Member
Hi

I've just been trying to make Xtext 2.0 work on Eclipse 3.6.1 (Modeling
Package) in order to try to find a common platform for all of current
code for Xtext, MWE, Acceleo.

Xtext 2.0 does not work on 3.6.1;

amongst other problems, there is

java.lang.NullPointerException
at
org.eclipse.xtext.xtext.ui.editor.outline.XtextOutlineTreePr ovider.getReturnTypeText(XtextOutlineTreeProvider.java:63)
at
org.eclipse.xtext.xtext.ui.editor.outline.XtextOutlineTreePr ovider._createNode(XtextOutlineTreeProvider.java:95)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.eclipse.xtext.util.PolymorphicDispatcher.invoke(Polymorp hicDispatcher.java:288)
at
org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeP rovider.createNode(DefaultOutlineTreeProvider.java:104)
at
org.eclipse.xtext.xtext.ui.editor.outline.XtextOutlineTreePr ovider._createChildren(XtextOutlineTreeProvider.java:103)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)


org.eclipse.core.runtime.AssertionFailedException: assertion failed:
Label provider instance already in use
at org.eclipse.core.runtime.Assert.isTrue(Assert.java:110)
at
org.eclipse.jface.viewers.StyledCellLabelProvider.initialize (StyledCellLabelProvider.java:166)
at
org.eclipse.jface.viewers.ColumnViewer.setLabelProvider(Colu mnViewer.java:367)
at
org.eclipse.xtext.ui.editor.outline.impl.OutlinePage.configu reTree(OutlinePage.java:76)
at
org.eclipse.xtext.ui.editor.outline.impl.OutlinePage.createC ontrol(OutlinePage.java:68)
at
org.eclipse.ui.views.contentoutline.ContentOutline.doCreateP age(ContentOutline.java:137)
at org.eclipse.ui.part.PageBookView.createPage(PageBookView.jav a:408)
at
org.eclipse.ui.part.PageBookView.partActivated(PageBookView. java:751)
at
org.eclipse.ui.part.PageBookView$4.partActivated(PageBookVie w.java:1010)
at
org.eclipse.ui.internal.PartListenerList2$1.run(PartListener List2.java:70)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:888)
at
org.eclipse.ui.internal.PartListenerList2.fireEvent(PartList enerList2.java:55)
at
org.eclipse.ui.internal.PartListenerList2.firePartActivated( PartListenerList2.java:68)
at
org.eclipse.ui.internal.PartService.firePartActivated(PartSe rvice.java:192)
at
org.eclipse.ui.internal.PartService.setActivePart(PartServic e.java:306)
at
org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePart Changed(WorkbenchPagePartList.java:57

and a failure to resolve platform URIs.

Regards

Ed Willink


On 16/12/2010 13:56, Sebastian Zarnekow wrote:
> Hi Mark,
>
> Xtext 2.0 will likely be usable with Eclipse 3.5 and newer. It is
> unlikely that we'll backport it for Eclipse 3.4.
>
> Regards,
> Sebastian
Re: Xtext 2.0: which eclipse platform is required? [message #651404 is a reply to message #651344] Sun, 30 January 2011 13:17 Go to previous message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Hi Ed,

please file a ticket with a reproducable sample attached. Thanks.

Thanks,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

Am 29.01.11 17:00, schrieb Ed Willink:
> Hi
>
> I've just been trying to make Xtext 2.0 work on Eclipse 3.6.1 (Modeling
> Package) in order to try to find a common platform for all of current
> code for Xtext, MWE, Acceleo.
>
> Xtext 2.0 does not work on 3.6.1;
>
> amongst other problems, there is
>
> java.lang.NullPointerException
> at
> org.eclipse.xtext.xtext.ui.editor.outline.XtextOutlineTreePr ovider.getReturnTypeText(XtextOutlineTreeProvider.java:63)
>
> at
> org.eclipse.xtext.xtext.ui.editor.outline.XtextOutlineTreePr ovider._createNode(XtextOutlineTreeProvider.java:95)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.eclipse.xtext.util.PolymorphicDispatcher.invoke(Polymorp hicDispatcher.java:288)
>
> at
> org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeP rovider.createNode(DefaultOutlineTreeProvider.java:104)
>
> at
> org.eclipse.xtext.xtext.ui.editor.outline.XtextOutlineTreePr ovider._createChildren(XtextOutlineTreeProvider.java:103)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
>
>
> org.eclipse.core.runtime.AssertionFailedException: assertion failed:
> Label provider instance already in use
> at org.eclipse.core.runtime.Assert.isTrue(Assert.java:110)
> at
> org.eclipse.jface.viewers.StyledCellLabelProvider.initialize (StyledCellLabelProvider.java:166)
>
> at
> org.eclipse.jface.viewers.ColumnViewer.setLabelProvider(Colu mnViewer.java:367)
>
> at
> org.eclipse.xtext.ui.editor.outline.impl.OutlinePage.configu reTree(OutlinePage.java:76)
>
> at
> org.eclipse.xtext.ui.editor.outline.impl.OutlinePage.createC ontrol(OutlinePage.java:68)
>
> at
> org.eclipse.ui.views.contentoutline.ContentOutline.doCreateP age(ContentOutline.java:137)
>
> at org.eclipse.ui.part.PageBookView.createPage(PageBookView.jav a:408)
> at org.eclipse.ui.part.PageBookView.partActivated(PageBookView. java:751)
> at org.eclipse.ui.part.PageBookView$4.partActivated(PageBookVie w.java:1010)
> at
> org.eclipse.ui.internal.PartListenerList2$1.run(PartListener List2.java:70)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.core.runtime.Platform.run(Platform.java:888)
> at
> org.eclipse.ui.internal.PartListenerList2.fireEvent(PartList enerList2.java:55)
>
> at
> org.eclipse.ui.internal.PartListenerList2.firePartActivated( PartListenerList2.java:68)
>
> at
> org.eclipse.ui.internal.PartService.firePartActivated(PartSe rvice.java:192)
> at org.eclipse.ui.internal.PartService.setActivePart(PartServic e.java:306)
> at
> org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePart Changed(WorkbenchPagePartList.java:57
>
>
> and a failure to resolve platform URIs.
>
> Regards
>
> Ed Willink
>
>
> On 16/12/2010 13:56, Sebastian Zarnekow wrote:
>> Hi Mark,
>>
>> Xtext 2.0 will likely be usable with Eclipse 3.5 and newer. It is
>> unlikely that we'll backport it for Eclipse 3.4.
>>
>> Regards,
>> Sebastian
>
Previous Topic:calling terminal fragment rule from parser
Next Topic:Validation with Xtext
Goto Forum:
  


Current Time: Tue Sep 24 16:35:15 GMT 2024

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

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

Back to the top