Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 45950 - PRE_DELETE Resource change event
Summary: PRE_DELETE Resource change event
Status: RESOLVED DUPLICATE of bug 37444
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-03 09:41 EST by Sachin Patel CLA
Modified: 2003-11-03 16:00 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 Sachin Patel CLA 2003-11-03 09:41:59 EST
When a workspace resource is removed, either (1) provide a PRE_PRE_DELETE 
Resource Change Event so that properties of that resource can be accessed, (2) 
Remove the properties of a resource after the build (along with the resource 
handle), not prior to the build,  or (3) allow a way to have the actual file 
on the file system be removed after the build so that during a build you can 
still access contents of the file.
 
Notes: Currently when a resource is removed from the workspace, the FS file is 
removed immediately and then a build is invoked.  The problem is that even 
though the handle of that resource remains, all of its persistant and session 
properties are removed prior to the build.  With the properties gone and the 
actual file on the filesystem gone, this makes writing a REMOVED case in a 
builder almost impossible. The properties of a resource should be atleast 
removed when the resource handler object no longer remains (after the build 
cycle).
Comment 1 John Arthorne CLA 2003-11-03 16:00:39 EST

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