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

Bug 338419

Summary: New project wizard by default does not support projects outside of workspace
Product: [Modeling] TMF Reporter: Mark Christiaens <mark.g.j.christiaens>
Component: Xtext BacklogAssignee: Project Inbox <tmf.xtext-inbox>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: anton, lorenzo.bettini, mark.g.j.christiaens, sven.efftinge
Version: 2.0.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard: v2.10

Description Mark Christiaens CLA 2011-02-28 09:47:38 EST
Build Identifier: 20100917-0705

I've implemented a new project wizard in Xtext 2.0 M5. I noticed that when I request a project in a non-default location (so outside the workspace) that the project is still made inside the workspace. It wasn't very hard to work around it but I think it's probably an omission in Xtext. The location probably should be stored in the DefaultProjectInfo and then wired up by the AbstractPluginCreator. That, or the option to place the project in a non-default location should be disabled in the default wizard.


Reproducible: Always
Comment 1 Lorenzo Bettini CLA 2011-03-01 08:54:22 EST
could you detail the workaround please?
thanks
Comment 2 Lorenzo Bettini CLA 2016-04-02 06:29:50 EDT
I worked on this while working on Bug 490796 and I fixed that.

The commit that fixes this, https://github.com/eclipse/xtext/pull/981/commits/88fed2b1cb70d8a640b9bfc3d6a46ff966092103, is part of this pull request: https://github.com/eclipse/xtext/pull/981
Comment 3 Sven Efftinge CLA 2016-04-04 08:47:28 EDT
thanks for the update