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

Bug 9038

Summary: [Wizards] New Project Wizard; don't use default 1
Product: [Eclipse Project] Platform Reporter: Sebastian Davids <sdavids>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: RESOLVED WORKSFORME QA Contact: Prakash Rangaraj <prakash>
Severity: enhancement    
Priority: P3 CC: antoni.aloy, krzysztof.daniel
Version: 2.0   
Target Milestone: ---   
Hardware: Other   
OS: other   
Whiteboard:

Description Sebastian Davids CLA 2002-02-04 11:14:23 EST
Continue bug 6507

Hi, again.

The current "fix" still needs some improvement IMO ...

I think the following scenario is the most common one:

User wants to create a new project ... he doesn't want to use the default 
location.

He enters a name for the project and selects a directory where the project 
should reside in, i.e. the "super" directory.

And here's the point: 

"Hmm, I've named the Project 'work' and selected '/projects' ... press OK (what 
goes on in his mind: now there's a new folder '/projects/work')

OK let's create another project named 'fun' and also put it under '/projects/'.

Oops, now I get an error message 'Invalid project description -- /projects 
and /projects overlaps'"

Two observations from the users perspective:

a) To be able to create a new project I have to create a new folder (or use an 
existing one I've created outside Eclipse) -- well the dialog after pressing 
the "Browse" button doesn't offer the functionality to create a new folder ... 

Right now one has to navigate to the "super" directory via the "Browse" button 
and then manually add the project's name to the selected path;

In most cases the user will add the project's name -- so why can't Eclipse do 
it for the user.

b) The projects name does not correspond to a directory whatsoever, but I 
cannot put two projects with different names into the same directory, why? It 
is possible with JBuilder/Word/etc. -- why can't Eclipse do it?

I think "auto-append project's name to selected path" would solve the problems 
above.

Auto-append should be intelligent to circumvent the problems with WS characters 
and other "special" characters though ;-)
Comment 1 antoni aloy CLA 2005-11-11 17:55:02 EST
I don't know if this is exactly the same situation, but on Eclipse 3.2 Build id:
I20051102-1600 is nearly impossible to create a new project.

Every time gives the error: "Invalid project description".
Comment 2 Karice McIntyre CLA 2005-11-11 18:05:29 EST
I haven't had problems creating projects using that build.  Can you provide 
your exact steps to replicate the problem (are they the same as the original 
bug description, if not you may want to create a new bug)?  What type of 
project are you trying to create (Java, Simple, something else)?  Are you using 
the default location or another location?  You should also check the Error Log 
view (or the .log file) to see if any exception is generated when you are 
trying to create the project.  If there is an exception generated, attach it to 
the bug.
Comment 3 Karice McIntyre CLA 2005-11-11 18:06:45 EST
Antoni, please see my last comment.
Comment 4 antoni aloy CLA 2005-11-11 18:47:30 EST
I have created a new bug with the error log, as I have tried with different
project locations.

I could create a project from cvs but not a new project, but I agree with you
that the message 'Invalid project description -- /projects 
and /projects overlaps'" is quite confusing...
Comment 5 Krzysztof Daniel CLA 2007-10-04 04:22:16 EDT
I have checked this bug against eclipse 3.3.1 (build M20070921-1145).

I have created project a in location projects, then I have created project b in the same location... no error message, everything worked fine. On the first time the directory projects was created.

Also, it was possible to press browse button and create new folder there.

I think this bug should be marked as worksforme.
Comment 6 Krzysztof Daniel CLA 2007-10-04 04:28:55 EDT
Well, this worked for General Project, but does not work for plugin project... although error message was much clearer.
Comment 7 Krzysztof Daniel CLA 2007-10-04 04:31:37 EDT
Karice, I would like to provide a patch for this. Where should I start?
Comment 8 Karice McIntyre CLA 2007-10-04 11:13:45 EDT
Attach the patch to the bug and someone will look at it.  
Comment 9 Boris Bokowski CLA 2009-02-26 16:46:37 EST
(In reply to comment #7)
> Karice, I would like to provide a patch for this. Where should I start?

http://wiki.eclipse.org/Platform_UI/How_to_Contribute if you are still interested.
Comment 10 Boris Bokowski CLA 2009-11-26 16:20:02 EST
Prakash is now responsible for watching bugs in the [Wizards] component area.
Comment 11 Prakash Rangaraj CLA 2010-09-28 13:46:09 EDT
As of 3.6, I can no longer create second project in the same location as the first project. Probably got fixed with some other bug. Marking as works for me