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

Bug 402667

Summary: Use 'rimraf' library for deleting directory trees
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: NodeAssignee: Mark Macdonald <mamacdon>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 3.0 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2013-03-07 10:58:55 EST
The Node server has a handwritten algorithm for deleting a directory and its descendants (same as "rm -rf"). There is a an npm package called 'rimraf' [1] which does the same thing, but it is better tested across platforms and probably faster. Perhaps we should use that instead.

[1] https://npmjs.org/package/rimraf
Comment 1 Mark Macdonald CLA 2013-04-04 15:56:28 EDT
Fixed, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=404814#c1