Bug 161581 - Adding a missing folder doesn't remove classpath marker
Summary: Adding a missing folder doesn't remove classpath marker
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M3   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-19 10:43 EDT by Jerome Lanneluc CLA
Modified: 2006-10-30 15:12 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jerome Lanneluc CLA 2006-10-19 10:43:00 EDT
I20061017

1. Create new Java project P with P=src=bin
2. Edit the .classpath with the following content:
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
	<classpathentry kind="src" path="src"/>
	<classpathentry kind="output" path="bin"/>
</classpath>
3. Observe: You get a build path marker: Project P is missing required source folder 'src'
4. File > New > Folder
5. Enter 'src', then press Finish
Observe: The build path marker remains.
Comment 1 Jerome Lanneluc CLA 2006-10-19 11:27:24 EDT
This is a regression comparing to 3.2.
Comment 2 Philipe Mulet CLA 2006-10-20 07:39:39 EDT
Should also be addressed in 3.2.2 due to regression nature.
Comment 3 Philipe Mulet CLA 2006-10-20 07:41:19 EDT
Actually, problem only got introduced in 3.3 stream. Ignore my previous comment (re: backporting)
Comment 4 Jerome Lanneluc CLA 2006-10-20 10:31:44 EDT
Changed DeltaProcessor#updateCurrentDeltaAndIndex(...) to validate the classpath if a package fragment root is added or removed.
Added regression test ClasspathTests#testAddRoot2().
Comment 5 Frederic Fusier CLA 2006-10-29 07:57:17 EST
Released for 3.3 M3 in HEAD stream.
Comment 6 Olivier Thomann CLA 2006-10-30 15:12:50 EST
Verified for 3.3 M3 using warm-up build I20061030-0800