Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349995 - Eclipse SDK download should only have one entry in the profile history
Summary: Eclipse SDK download should only have one entry in the profile history
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Releng (show other bugs)
Version: 3.7   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 minor (vote)
Target Milestone: 3.8 M1   Edit
Assignee: Kim Moir CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-21 19:56 EDT by Pascal Rapicault CLA
Modified: 2011-06-27 09:00 EDT (History)
2 users (show)

See Also:


Attachments
patch (11.03 KB, patch)
2011-06-24 11:39 EDT, Kim Moir CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Rapicault CLA 2011-06-21 19:56:58 EDT
When I download and unzip an Eclipse SDK, I can see 4 entries in the profile registry (p2/org.eclipse.equinox.p2.engine/SDKProfile.profile). However the first 3 entries are not relevant for the end user since they represent intermediary steps to the creation of the install, but worst is that if ppl were to reverse to any of those, it could cause the complete uninstallation of the SDK.

To avoid any confusion we should remove those spurious entries. This can be done by calling the director with the -purgeHistory option.
Comment 1 Kim Moir CLA 2011-06-21 20:46:38 EDT
Thanks Pascal, I wasn't aware of the purge history option.
Comment 2 Kim Moir CLA 2011-06-24 11:39:37 EDT
Created attachment 198546 [details]
patch
Comment 3 Kim Moir CLA 2011-06-27 09:00:44 EDT
Fixed and verified in N20110626-2000.