Bug 28456 - package explorer not refreshed after changing output folder [build path] [package explorer]
Summary: package explorer not refreshed after changing output folder [build path] [pac...
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Linux-Motif
: P3 normal (vote)
Target Milestone: 3.0 M9   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-17 05:36 EST by Adam Kiezun CLA
Modified: 2004-03-29 11:35 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 Adam Kiezun CLA 2002-12-17 05:36:13 EST
20021216
1. set up a project with a source folder (src)
2. change the output folder to be src  
3. note that 'bin' shows up in the explorer (OK)
4. now, change the output folder to be bin again
5. 'bin' is still shown in the explorer
Comment 1 Dirk Baeumer CLA 2002-12-17 09:06:36 EST
We have to check if the Java model sends the right delta.
Comment 2 Dirk Baeumer CLA 2003-01-07 09:06:33 EST
Still exists under M4 (tested under Windows).
Comment 3 Erich Gamma CLA 2003-02-20 05:17:21 EST
in the latest bin is no longer shown after step 5.

However, it doesn't show up after step 3.

If you close the package explorer, close the project, open the project, and 
open the package explorer again then you will see the bin folder.

Moving to JDT Core for investigation
Comment 4 Jerome Lanneluc CLA 2003-02-26 07:54:54 EST
This has never worked. I tried build 20021216 and in step 3, 'bin' doesn't show 
up in the Package explorer. It shows up only if you close/reopen the project.

This makes sense as we don't have a delta for addition/removal of output folder 
from the classpath.
Comment 5 Jerome Lanneluc CLA 2003-02-28 12:15:39 EST
We would need to add another flag (F_NON_JAVA_RESOURCE) that indicates that the 
non-Java resources have changed (but there is no associated IResourceDelta). 
Will consider for 2.2.
Comment 6 Philipe Mulet CLA 2003-04-02 06:40:49 EST
reopen
Comment 7 Jerome Lanneluc CLA 2004-03-02 12:47:14 EST
Fixing bug 49986 might fix this one.
Comment 8 Jerome Lanneluc CLA 2004-03-29 11:35:30 EST
Verified this is fixed in 3.0 M8.