Community
Participate
Working Groups
Build ID: 20090619-0625 Steps To Reproduce: Tested the new Xpand project wizard in M2T Xpand 0.71 1. /File/New/Other/Xpand/Xpand Project/Next/check "create sample"/Finish 2. In the new project run the MWE workflow in /src/workflow/generator.mwe 3. Workflow fails with severe errors reported including classes not found. More information: Some of the generated class references in the sample MWE file are obviously wrong e.g. org.eclipse.mwe.emf.StandaloneSetup should be org.eclipse.emf.mwe.utils.StandaloneSetup. Other classes not found include org.eclipse.mwe.emf.Reader,org.eclipse.m2t.type.emf.EmfRegistryMetaModel, and org.eclipse.xtend.xpand2.Generator. Plugin dependency path in the sample project seems to be OK.
Following Plugin dependencies are missing: org.eclipse.emf.mwe.utils org.eclipse.emf.ecore.xmi org.eclipse.xpand2.output org.antlr.runtime com.ibm.icu org.eclipse.core.runtime org.eclipse.jdt.core
Created attachment 142017 [details] generator.mwe with correct classnames
just wanted to report the same, because while writing my blog I wanted to give the tip, that before moving the old workspace a short test after installation would be a good idea, so I tried the New Xpand Project Wizard + sample checked. for others reading this bug: you habve to add these Dependencies: org.eclipse.emf.mwe.utils;bundle-version="0.7.1", org.eclipse.emf.ecore.xmi;bundle-version="2.5.0", org.eclipse.jface.text;bundle-version="3.5.0", org.antlr.runtime;bundle-version="3.0.0", com.ibm.icu;bundle-version="4.0.1", org.eclipse.core.runtime;bundle-version="3.5.0", org.eclipse.jdt.core;bundle-version="3.5.0" and you have to change the classnames from generator.mwe: these are the correct ones org.eclipse.emf.mwe.utils.StandaloneSetup org.eclipse.emf.mwe.utils.Reader org.eclipse.xtend.check.CheckComponent org.eclipse.xtend.typesystem.emf.EmfRegistryMetaModel org.eclipse.xpand2.Generator org.eclipse.xpand2.output.JavaBeautifier
Fixed in HEAD. Changes made to EclipseHelper, XptendXpandProjectWizard and files in package org.eclipse.xtend.shared.ui.wizwards.example.
Was already fixed with last comment.
*** Bug 297953 has been marked as a duplicate of this bug. ***
Bug resolved before Xpand 1.2 release date => Closing