Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312557 - [Backend] Cannot exeute generatorWithBackend.mwe without uml2 installed
Summary: [Backend] Cannot exeute generatorWithBackend.mwe without uml2 installed
Status: CLOSED FIXED
Alias: None
Product: M2T
Classification: Modeling
Component: Xpand (show other bugs)
Version: 1.0.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-12 05:25 EDT by Sebastian Zarnekow CLA
Modified: 2013-02-21 08:12 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Zarnekow CLA 2010-05-12 05:25:35 EDT
Steps to reproduce:

0) Download the itemis Eclipse 3.6M7 Distro that has no UML2 installed
1) Create new Xpand project (emf sample project)
2) Run the workflow generatorWithBackend.mwe
3) Find the following error in the logs

Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/uml2/uml/NamedElement
	at org.eclipse.xtend.middleend.xtend.XtendBackendFacade.evaluateExpression(XtendBackendFacade.java:105)
	at org.eclipse.xtend.middleend.xtend.XtendBackendFacade.evaluateExpression(XtendBackendFacade.java:79)
	at org.eclipse.xtend.middleend.xtend.XtendBackendFacade.evaluateExpression(XtendBackendFacade.java:66)
	at org.eclipse.xtend.middleend.xtend.XtendBackendFacade.evaluateExpression(XtendBackendFacade.java:62)
	at org.eclipse.xtend.middleend.xtend.CheckComponent.getExpressionResult(CheckComponent.java:128)
	at org.eclipse.xtend.middleend.xtend.CheckComponent.invokeInternal2(CheckComponent.java:96)
	at org.eclipse.xtend.expression.AbstractExpressionsUsingWorkflowComponent.invokeInternal(AbstractExpressionsUsingWorkflowComponent.java:238)
	at org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent.invoke(AbstractWorkflowComponent.java:129)
	at org.eclipse.emf.mwe.core.container.CompositeComponent.internalInvoke(CompositeComponent.java:101)
	at org.eclipse.emf.mwe.core.container.CompositeComponent.invoke(CompositeComponent.java:86)
	at org.eclipse.emf.mwe.core.WorkflowRunner.executeWorkflow(WorkflowRunner.java:408)
	at org.eclipse.emf.mwe.core.WorkflowRunner.run(WorkflowRunner.java:293)
	at org.eclipse.emf.mwe.core.WorkflowRunner.main(WorkflowRunner.java:241)
Comment 1 André Arnold CLA 2011-02-03 04:59:36 EST
fixed in most recent commit to git
- no longer all typesystems need to be installed
Comment 2 Karsten Thoms CLA 2013-02-21 08:12:31 EST
Bug resolved before Xpand 1.2 release date => Closing