Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » MWE2 workflow generated import: "import org.eclipse.xtext.parsetree.*"
MWE2 workflow generated import: "import org.eclipse.xtext.parsetree.*" [message #716169] Tue, 16 August 2011 15:27 Go to next message
sungam  is currently offline sungam Friend
Messages: 21
Registered: March 2010
Junior Member
Running MWE2 workflow from Indigo generates the following import in the class org.xtext.example.mydsl.ui.contentassist.antlr.internal.InternalMyDslParser:

import org.eclipse.xtext.parsetree.*;

Compiling from maven2 throws error:
package org.eclipse.xtext.parsetree does not exist

Did anyone encounter similar problem?
Re: MWE2 workflow generated import: "import org.eclipse.xtext.parsetree.*" [message #716193 is a reply to message #716169] Tue, 16 August 2011 16:23 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13883
Registered: July 2009
Senior Member
Hi,

maybe you have still Xtext 1.0.x stuff on the path?

~Christian


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: MWE2 workflow generated import: "import org.eclipse.xtext.parsetree.*" [message #716202 is a reply to message #716193] Tue, 16 August 2011 16:32 Go to previous messageGo to next message
sungam  is currently offline sungam Friend
Messages: 21
Registered: March 2010
Junior Member
Don't think that is possible.

Because it is a fresh Indigo with xtext2.0 install and I have used the wizard to create a sample xtext project out-of-the-box.

Haven't made any changes at all.

Re: MWE2 workflow generated import: "import org.eclipse.xtext.parsetree.*" [message #716205 is a reply to message #716202] Tue, 16 August 2011 16:36 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13883
Registered: July 2009
Senior Member
Strange, that should work Wink

~Christian


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: MWE2 workflow generated import: "import org.eclipse.xtext.parsetree.*" [message #716238 is a reply to message #716169] Tue, 16 August 2011 17:50 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3109
Registered: July 2009
Senior Member
Hi,

see here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=352409

Fixed for SR1 which was released some days ago.

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

On 16.08.11 17:27, sungam wrote:
> Running MWE2 workflow from Indigo generates the following import in the
> class
> org.xtext.example.mydsl.ui.contentassist.antlr.internal.InternalMyDslParser:
>
>
> import org.eclipse.xtext.parsetree.*;
>
> Compiling from maven2 throws error:
> package org.eclipse.xtext.parsetree does not exist
>
> Did anyone encounter similar problem?
Re: MWE2 workflow generated import: "import org.eclipse.xtext.parsetree.*" [message #716262 is a reply to message #716238] Tue, 16 August 2011 19:59 Go to previous message
sungam  is currently offline sungam Friend
Messages: 21
Registered: March 2010
Junior Member
Ok. Thank you.

I am trying to use the artifacts from the fornax-repo
(http://fornax-platform.org/nexus/content/groups/public/) to execute my build.

Any chances this release could be synced up to that repo?

Previous Topic:prefix on Qualified Name
Next Topic:XBase operators marked as error in DomainModel example project
Goto Forum:
  


Current Time: Fri Apr 16 01:38:00 GMT 2021

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

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

Back to the top