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

Bug 393410

Summary: Modified source folder duplicated in Package Explorer
Product: [Eclipse Project] JDT Reporter: Joel Cayne <jcayne>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: markus.kell.r, shr31223
Version: 4.2.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Joel Cayne CLA 2012-11-02 08:23:48 EDT
Modifying the default source folder name on the build path causes the source folder to appear twice in the Package Explorer view.

Steps to reproduce:
1. In Eclipse 4.2.1, open the Window -> Preferences dialog.
2. Expand Java -> Build Path.
3. Modify the source folder name from 'src' to 'src/dir' and save the changes.
4. Create a new Java Project, e.g. 'Sample'.

The Java Project has the following structure with the modified source folder name:
Sample
 - src/dir (as a source folder)
 - src (as a folder)

Without a modified source folder name the Java Project structure is:
Sample
 - src (as a source folder)
Comment 1 Markus Keller CLA 2012-11-02 11:51:42 EDT

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