Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321046 - A value of type 'org.eclipse.emf.mwe.utils.StandaloneSetup' can not be assigned to the feature addBean
Summary: A value of type 'org.eclipse.emf.mwe.utils.StandaloneSetup' can not be assign...
Status: NEW
Alias: None
Product: EMFT
Classification: Modeling
Component: MWE (show other bugs)
Version: 1.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-07-27 12:25 EDT by Karsten Thoms CLA
Modified: 2011-01-25 16:25 EST (History)
3 users (show)

See Also:


Attachments
Screenshot (250.51 KB, image/png)
2010-07-27 12:25 EDT, Karsten Thoms CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karsten Thoms CLA 2010-07-27 12:25:37 EDT
Created attachment 175335 [details]
Screenshot

I have a Xtext generated MWE2 workflow which does the typical StandaloneSetup. The StandaloneSetup bean is marked with the following error:

Description	Resource	Path	Location	Type
A value of type 'org.eclipse.emf.mwe.utils.StandaloneSetup' can not be assigned to the feature addBean	GenerateEntityDSL.mwe2	/net.languageworkbenches.xtext/src/net/languageworkbenches/xtext	line: 13 /net.languageworkbenches.xtext/src/net/languageworkbenches/xtext/GenerateEntityDSL.mwe2	Xtext Check (fast)
Comment 1 Karsten Thoms CLA 2010-07-27 12:32:18 EDT
To get a reproducing project:
svn checkout http://svn.codespot.com/a/eclipselabs.org/lwc11-xtext/branches/bug321046/ lwc11-xtext-read-only
Comment 2 Sebastian Zarnekow CLA 2010-07-27 14:38:28 EDT
I imported the projects and no error marker appears. Can you confirm that there is no error annotation in the java editor when you navigate to the StandaloneSetup? Anything in the error log? Does a clean build help?
Comment 3 Karsten Thoms CLA 2010-08-19 13:42:56 EDT
I have experienced this issue again. The error marker is on the bean statement in the MWE2 editor and clean builds don't help. I'm using the itemis Xtext 1.0.0 distro.
Comment 4 Sebastian Zarnekow CLA 2010-08-19 15:35:59 EDT
Karsten,
can you confirm that there is no error annotation in the java editor when you navigate to the StandaloneSetup? Anything in the error log?
Comment 5 Holger Schill CLA 2011-01-25 16:25:30 EST
I could reproduce this problem only on jre6 on mac. By using jre5 the problem is gone. Had this problem in a workshop reproduceable for any xtext-project.