Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » .mwe2 of xtext in juno
.mwe2 of xtext in juno [message #883333] Fri, 08 June 2012 10:01 Go to next message
frank fotso is currently offline frank fotsoFriend
Messages: 91
Registered: May 2012
Member
hi,
i have a problem with juno , i install it and when i try to run the .mwe2 file as a workflow i have the following error:

  *ATTENTION*
It is recommended to use the ANTLR 3 parser generator (BSD licence - http://www.antlr.org/license.html).
Do you agree to download it (size 1MB) from 'http://download.itemis.com/antlr-generator-3.2.0.jar'? (type 'y' or 'n' and hit enter) 


and when i click 'y' the download start and i have the following error appearing:

 *ATTENTION*
It is highly recommended to use ANTLR's parser generator (get it from 'http://xtext.itemis.com/'). 
As an alternative to ANTLR you could also use the alternative implementation shipped with Xtext.
To do so use the generator fragment 'org.eclipse.xtext.generator.parser.packrat.PackratParserFragment' in your mwe2 file instead.(Element: -UNKNOWN-; Reported by: -UNKNOWN-)
java.lang.RuntimeException: Problems running workflow org.xtext.example.GenerateProject2: 
[ERROR]: 

*ATTENTION*
It is highly recommended to use ANTLR's parser generator (get it from 'http://xtext.itemis.com/'). 
As an alternative to ANTLR you could also use the alternative implementation shipped with Xtext.
To do so use the generator fragment 'org.eclipse.xtext.generator.parser.packrat.PackratParserFragment' in your mwe2 file instead.(Element: -UNKNOWN-; Reported by: -UNKNOWN-)
[ERROR]: 

*ATTENTION*
It is highly recommended to use ANTLR's parser generator (get it from 'http://xtext.itemis.com/'). 
As an alternative to ANTLR you could also use the alternative implementation shipped with Xtext.
To do so use the generator fragment 'org.eclipse.xtext.generator.parser.packrat.PackratParserFragment' in your mwe2 file instead.(Element: -UNKNOWN-; Reported by: -UNKNOWN-)
	at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:104)
	at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:62)
	at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:52)
	at org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher.run(Mwe2Launcher.java:74)
	at org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher.main(Mwe2Launcher.java:35)
Caused by: java.lang.RuntimeException: 
[ERROR]:   
Re: .mwe2 of xtext in juno [message #883348 is a reply to message #883333] Fri, 08 June 2012 10:34 Go to previous messageGo to next message
Jan Koehnlein is currently offline Jan KoehnleinFriend
Messages: 760
Registered: July 2009
Location: Hamburg
Senior Member
There's a copyright issue that keeps us from deploying the antlr
generator plugin from an official Eclipse site. Xtext tries to download
it on demand when it's missing, which went wrong in your case (firewall?
flaky connetion?)

If you point your update manager to
http://download.itemis.com/updates/releases/
and install the Xtext Antlr feature, you will never be asked again.


Am 08.06.12 12:01, schrieb frank fotso:
> hi,
> i have a problem with juno , i install it and when i try to run the
> .mwe2 file as a workflow i have the following error:
>
> *ATTENTION*
> It is recommended to use the ANTLR 3 parser generator (BSD licence -
> http://www.antlr.org/license.html).
> Do you agree to download it (size 1MB) from
> 'http://download.itemis.com/antlr-generator-3.2.0.jar'? (type 'y' or 'n'
> and hit enter)
> and when i click 'y' the download start and i have the following error
> appearing:
>
> *ATTENTION*
> It is highly recommended to use ANTLR's parser generator (get it from
> 'http://xtext.itemis.com/'). As an alternative to ANTLR you could also
> use the alternative implementation shipped with Xtext.
> To do so use the generator fragment
> 'org.eclipse.xtext.generator.parser.packrat.PackratParserFragment' in
> your mwe2 file instead.(Element: -UNKNOWN-; Reported by: -UNKNOWN-)
> java.lang.RuntimeException: Problems running workflow
> org.xtext.example.GenerateProject2: [ERROR]:
> *ATTENTION*
> It is highly recommended to use ANTLR's parser generator (get it from
> 'http://xtext.itemis.com/'). As an alternative to ANTLR you could also
> use the alternative implementation shipped with Xtext.
> To do so use the generator fragment
> 'org.eclipse.xtext.generator.parser.packrat.PackratParserFragment' in
> your mwe2 file instead.(Element: -UNKNOWN-; Reported by: -UNKNOWN-)
> [ERROR]:
> *ATTENTION*
> It is highly recommended to use ANTLR's parser generator (get it from
> 'http://xtext.itemis.com/'). As an alternative to ANTLR you could also
> use the alternative implementation shipped with Xtext.
> To do so use the generator fragment
> 'org.eclipse.xtext.generator.parser.packrat.PackratParserFragment' in
> your mwe2 file instead.(Element: -UNKNOWN-; Reported by: -UNKNOWN-)
> at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:104)
> at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:62)
> at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:52)
> at
> org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher.run(Mwe2Launcher.java:74)
> at
> org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher.main(Mwe2Launcher.java:35)
> Caused by: java.lang.RuntimeException: [ERROR]:


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


---
Get professional support from the Xtext committers at www.typefox.io
Re: .mwe2 of xtext in juno [message #883368 is a reply to message #883348] Fri, 08 June 2012 11:40 Go to previous messageGo to next message
frank fotso is currently offline frank fotsoFriend
Messages: 91
Registered: May 2012
Member
thks for the information , but please can you tell me how to do to point my update manager to the site you stated above?
Re: .mwe2 of xtext in juno [message #883369 is a reply to message #883368] Fri, 08 June 2012 11:43 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Hi,

you surely have this done Wink

Help -> Install New Software -> Add ... -> Give a Name and Paste URL -> OK

~Christian


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: .mwe2 of xtext in juno [message #883374 is a reply to message #883369] Fri, 08 June 2012 11:55 Go to previous messageGo to next message
frank fotso is currently offline frank fotsoFriend
Messages: 91
Registered: May 2012
Member
that is what i did before asking , but i was having this error :

 HTTP Server Unknown HTTP Response Code (-1):http://download.itemis.com/antlr-generator-3.2.0.jar/content.xml
General connection error with response code=-1
 

Re: .mwe2 of xtext in juno [message #883408 is a reply to message #883374] Fri, 08 June 2012 13:15 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
As Jan said before: it may be time to talk to your network admin Wink

~Christian


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:OCl and Xtext
Next Topic:Filter keyword in content assist
Goto Forum:
  


Current Time: Thu Apr 25 01:56:20 GMT 2024

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

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

Back to the top