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

Bug 332148

Summary: [native] Don't fail install when rmdir cannot delete empty directory
Product: [Eclipse Project] Equinox Reporter: DJ Houghton <dj.houghton>
Component: p2Assignee: DJ Houghton <dj.houghton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: henrik.lindberg, john.arthorne, pascal
Version: 3.6.1   
Target Milestone: 3.6.2+   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Bug Depends on: 331609    
Bug Blocks:    
Attachments:
Description Flags
potential patch none

Description DJ Houghton CLA 2010-12-08 11:39:30 EST
Cloned to track release into 3.6.x stream.

+++ This bug was initially created as a clone of Bug #331609 +++

We had a case lately where we were getting errors in the log file because we were running in shared mode and the user was trying to uninstall a bundle but couldn't delete something from the shared area. (part of the unconfigure phase)

We should consider only writing this information to the log file if we are in debug mode since this will be the expected behaviour for shared installs.
Comment 1 DJ Houghton CLA 2010-12-09 11:20:48 EST
Created attachment 184870 [details]
potential patch
Comment 2 DJ Houghton CLA 2011-01-11 16:43:26 EST
Patch released to maintenance branch. (+ bundle version increase)
Comment 3 John Arthorne CLA 2012-03-09 16:53:29 EST
It looks like this was never tagged for 3.6.2. Moving target to 3.6.2+.

C:\1target\36maintenance\rt.equinox.p2>git log R36x_v20110111..R36x_v20120223 bundles/org.eclipse.equinox.p2.touchpoint.natives
commit 2492b0a0bf99bc072724cd5380a20bd315e5518d
Author: DJ Houghton <dj>
Date:   Tue Jan 11 21:43:04 2011 +0000

    Bug 332148 - [native] Don't fail install when rmdir cannot delete empty directory

C:\1target\36maintenance\rt.equinox.p2>