I have downloaded Eclipse DSL Tools, Neon.2 version. And I create new Xtext Project.
I click finish and I get bunch of projects in my workspace:
However, I have an error out of the box with GenerateL.mwe2 file:
Error:
A value of type 'org.eclipse.xtext.xtext.generator.XtextGenerator' can not be assigned to the feature org.eclipse.emf.mwe2.runtime.workflow.AbstractCompositeWorkflowComponent.addComponent(org.eclipse.emf.mwe2.runtime.workflow.IWorkflowComponent)
Also there is an error in build.properties
files saying this:
Bundle org.eclipse.emf.mwe.utils cannot be resolved
Here is the file:
source.. = src/,\
src-gen/,\
xtend-gen/
bin.includes = .,\
META-INF/,\
plugin.xml
additional.bundles = org.eclipse.xtext.xbase,\
org.eclipse.xtext.common.types,\
org.eclipse.xtext.xtext.generator,\
org.eclipse.emf.codegen.ecore,\
org.eclipse.emf.mwe.utils,\
org.eclipse.emf.mwe2.launch,\
org.eclipse.emf.mwe2.lib,\
org.objectweb.asm,\
org.apache.commons.logging,\
org.apache.log4j,\
com.ibm.icu
How do I solve these errors?
Make sure your target platform is correctly loaded and contains the missing plugins Window -> Preferences -> Search for Target platform
. Use Reload and Edit buttons to make sure it's refreshed and to inspect the contents. If it is still missing you may need to reinstall the dependencies