Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Re: XText: cant find main class org.eclipse.emf.mwe.core.WorkflowRunner
Re: XText: cant find main class org.eclipse.emf.mwe.core.WorkflowRunner [message #622276] Fri, 05 March 2010 15:31 Go to next message
HansBj is currently offline HansBj
Messages: 18
Registered: March 2010
Junior Member
Hi,

I just tried again to create a XText Project using the wizard.
It does not include any libraries at all!
The first error I get is that the reference in the grammar file to
org.eclipse.xtext.common.Terminals
cannot be solved.

regards, HB.
Re: XText: cant find main class org.eclipse.emf.mwe.core.WorkflowRunner [message #622277 is a reply to message #622276] Fri, 05 March 2010 16:34 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian Zarnekow
Messages: 2908
Registered: July 2009
Senior Member
Am 05.03.10 16:31, schrieb HansBj:
> Hi,
>
> I just tried again to create a XText Project using the wizard.
> It does not include any libraries at all!
> The first error I get is that the reference in the grammar file to
> org.eclipse.xtext.common.Terminals
> cannot be solved.
>
> regards, HB.
Hi Hans Björn,

I just removed the dust from an old windows box, downloaded the Xtext
distro and launched Eclipse and created an empty workspace in c:/eclipse/ws.

After choosing
New -> Project .. -> Xtext Project
I end up with 3 projects in my workspace. They define the required deps,
e.g. the runtime project (org.xtext.example.mydsl by default) contains a
manifest.mf with the following entries:

Require-Bundle: org.eclipse.xtext,
org.eclipse.xtext.generator;resolution:=optional,
de.itemis.xtext.antlr;resolution:=optional,
org.apache.commons.logging;resolution:=optional,
org.eclipse.emf.codegen.ecore;resolution:=optional,
org.eclipse.xtext.log4j;resolution:=optional,
org.eclipse.emf.mwe.utils;resolution:=optional,
org.eclipse.emf.mwe.core;resolution:=optional,
com.ibm.icu;resolution:=optional,
org.eclipse.xtext.xtend;resolution:=optional

Can you confirm this behaviour on your machine?

Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
Re: XText: cant find main class org.eclipse.emf.mwe.core.WorkflowRunner [message #622278 is a reply to message #622277] Fri, 05 March 2010 16:42 Go to previous messageGo to next message
HansBj is currently offline HansBj
Messages: 18
Registered: March 2010
Junior Member
Hi,

yes, the same happens on my machine.
But there is no "Referenced Libraries" in the workspace / package view.

regards, HB.
Re: XText: cant find main class org.eclipse.emf.mwe.core.WorkflowRunner [message #622279 is a reply to message #622278] Fri, 05 March 2010 18:38 Go to previous message
Sebastian Zarnekow is currently offline Sebastian Zarnekow
Messages: 2908
Registered: July 2009
Senior Member
Hi Hans Björn,

the referenced libraries are displayed as plugin dependencies and
therefore they show the resolved deps from the manifest. The compile
path is derived from this information.
As far as I can tell, the three projects work like a charm but I'll
double check on Mondays.

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

Am 05.03.10 17:42, schrieb HansBj:
> Hi,
>
> yes, the same happens on my machine.
> But there is no "Referenced Libraries" in the workspace / package view.
>
> regards, HB.
Previous Topic:Suppress attributes for EMF Compare?
Next Topic:xpand2::Type
Goto Forum:
  


Current Time: Sat Oct 25 08:01:29 GMT 2014

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

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