Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 319122

Summary: XPand import problem confusese generator and editor
Product: [Modeling] TMF Reporter: svb007 <stefan.von.brauk>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: major    
Priority: P3 CC: moritz.eysholdt
Version: 1.0.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description svb007 CLA 2010-07-07 09:22:39 EDT
Build Identifier: 20100617-1415

I created a Language which I named "com:smc:ps:mdd:VS".
The generated XPand artifacts (extension and template) contain the statement «IMPORT com::smc::ps::mdd::vS»
As a result the editors for these artifacts do not understand the created DSL (eg. a warning "namespace com::smc::ps::mdd::vS is unknown or unused" occures). The generators are able to read the DSL and templates and create nice code.
When I chnage the import to «IMPORT vS» the editor DO understand my DSL while the generators do not understand it anymore.


Reproducible: Always
Comment 1 Moritz Eysholdt CLA 2010-07-07 09:28:36 EDT
could you check if in <project properties> -> "Xtend/Xpand" the "Java Beans Meta Model" is activated?
Comment 2 svb007 CLA 2010-07-07 09:59:39 EDT
Activating the property solves the problem
Comment 3 Karsten Thoms CLA 2017-09-19 16:15:34 EDT
Closing bug which were set to RESOLVED before Eclipse Neon.0.