mwe2 Workflow passed, but Eclipse can't start my DSL-Editor [message #1098219] |
Fri, 30 August 2013 20:03 |
Othmar Lippuner Messages: 12 Registered: August 2013 |
Junior Member |
|
|
I defined this DSL to describe a Screenlayout:
Formlayout.xtext:
grammar ch.lpno.xtext.dsl.formlayout.Formlayout with
org.eclipse.xtext.common.Terminals
generate formlayout "http://www.eclipse.org/formlayout"
Formlayout : 'formlayout' formdecription=Description 'frmID' frmID=ID datasource=Datasource (pkfields+=PKfields)? otherregions=OtherRegions;
Datasource: 'table' tableID=ID ('view' viewID=ID)?;
Description: STRING;
PKfields: 'pkfields' (pkfields+=PKfield)+;
PKfield: 'label' pkLabelID=ID 'fieldname' fieldname=ID 'datatype' datatype=ID;
Field: 'label' labelID=ID 'fieldname' fieldname=ID 'datatype' datatype=ID;
OtherRegions: (region+=Region | tabbedRegion+=TabbedRegion)+;
TabbedRegion: 'tabbedregion' STRING ('tab' tabId+=ID fields+=Fields)+;
Region: 'region' STRING Fields ;
Fields: (field+=Field)+;
It's compiled with no error. The workflow GenerateFormlayout.mwe2 is done with no error or warning.
Then I launch another runtime eclipse, to start writting a code in my newly created DSL. Eclipse starts but in console a got an error
Plug-in ch.lpno.xtext.dsl.Formlayout.ui was unable to load class ch.lpno.xtext.dsl.formlayout.ui.FormlayoutExecutableExtensionFactory.
org.eclipse.core.runtime.CoreException: Plug-in ch.lpno.xtext.dsl.Formlayout.ui was unable to load class ch.lpno.xtext.dsl.formlayout.ui.FormlayoutExecutableExtensionFactory.
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:176)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:282)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:278)
... some more
What is wrong?
The bolded part of term, is a thing that makes me insecure:
generate formlayout "http://www.eclipse.org/formlayout"
is this correct? How is this interpreted?
[Updated on: Sat, 31 August 2013 09:27] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02794 seconds