Bug 526072 - "New source folder" wizard should create folders even if already in listed classpath
Summary: "New source folder" wizard should create folders even if already in listed cl...
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.5   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday, helpwanted
Depends on:
Blocks:
 
Reported: 2017-10-16 06:02 EDT by Mickael Istria CLA
Modified: 2017-10-16 06:03 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mickael Istria CLA 2017-10-16 06:02:57 EDT
I'm using a Maven project which has multiple source folders defined in classpath, but some of them are not existing on filesytem. It's not a big issue and everything works fine and happily.
I want to create a src/test/java folder (which is non-existant), I use the "New Source Folder" dialog which seems to be very adapted to my expectations. However, this one doesn't allow me to create the folder because it's already listed in classpath.
In such case, I would have found it nicer to have the wizard showing me a warning (and not an error) and to allow me to proceed anyway with the creation of the folder.