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

Bug 333328

Summary: New xtext project with a name without namespace does not compute
Product: [Modeling] TMF Reporter: Jan Labrie <jan.labrie>
Component: Xtext BacklogAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: christian.dietrich.opensource
Version: unspecifiedKeywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: v2.11
Attachments:
Description Flags
New xtext project wizard
none
Open and build problems none

Description Jan Labrie CLA 2010-12-30 03:52:15 EST
Created attachment 185899 [details]
New xtext project wizard

How to reproduce:
1) Create a new xtext project
2) Use a Language name: "MyDSL". See attached bitmap.
3) Press finish

Observed behavior:
1) The xtext file is not properly opened
2) The project can not be build
Both aspect are shown in the attached bitmap

Expected behavior:
A clear decission shoud be taken whether grammer names without namespace are supported or not.
The Xtext editor is also vague on this because it gives a warning saying a namespace should be used.

When unclassified names are to be supported the
- proper file should be openened after creating the project
- project should be buildable and runnable
- xtext editor should not give a warning

When the decission is to not support unclassified language names the
- new project wizard should not allow unclassified language names
- the xtext editor should give an error on unclassified names
Comment 1 Jan Labrie CLA 2010-12-30 03:52:46 EST
Created attachment 185900 [details]
Open and build problems
Comment 2 Sven Efftinge CLA 2012-11-19 08:48:19 EST
the wizard should validate that the langauge name has a namespace as it is mandatory.
Comment 3 Christian Dietrich CLA 2016-08-17 06:28:30 EDT

*** This bug has been marked as a duplicate of bug 363929 ***