Bug 526072

Summary: "New source folder" wizard should create folders even if already in listed classpath
Product: [Eclipse Project] JDT Reporter: Mickael Istria <mistria>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 Keywords: bugday, helpwanted
Version: 4.5   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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.