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

Bug 361400

Summary: Installed features lost after starting with -clean
Product: [Eclipse Project] Equinox Reporter: DJ Houghton <dj.houghton>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 3.7.1   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description DJ Houghton CLA 2011-10-19 09:47:23 EDT
R3.7.1

After performing a director install using the bundle pool option and installing extra features, the extra features are deleted when launching Eclipse with the -clean arg. This is because they are stored in the config area in the osgi/bundles folder.

- Install the Platform IDE using the director and the arguments specified in [1]. (note change the repo location to be the real R3.7.1 repo)
- start Eclipse from destination
- install a new feature
- note that the feature is installed into location [2]
- start Eclipse with -clean

Note that Help -> About -> Installation Details says that the feature is still installed but it is not in the list of installed features (or plug-ins) in the other config tabs.

The profile property values are listed in [3].

--------

[1] eclipse.ini args
-application
org.eclipse.equinox.p2.director
-profile
PlatformProfile
-destination
/Users/equinox/destination
-profileProperties
org.eclipse.update.install.features=true
-bundlePool
/Users/equinox/shared
-nosplash
-console
-consoleLog
-installIU
org.eclipse.platform.ide
-repository
file:///Users/equinox/Downloads/R3.7.1/

[2] location of installed extra features
destination/configuration/org.eclipse.osgi/bundles/69/data/-371833256

[3]
<properties size='6'>
    <property name='org.eclipse.equinox.p2.installFolder' value='/Users/equinox/destination'/>
    <property name='org.eclipse.equinox.p2.cache' value='/Users/equinox/shared'/>
    <property name='org.eclipse.update.install.features' value='true'/>
    <property name='org.eclipse.equinox.p2.cache.extensions' value='file:/Users/equinox/destination/configuration/org.eclipse.osgi/bundles/79/data/listener_1925729951/'/>
...
</properties>
Comment 1 DJ Houghton CLA 2011-10-20 14:02:10 EDT
I've been playing around with this today and it is working ok. When I install new features they are going to the bundle pool area and running with -clean doesn't remove them.

I'll close this as invalid for now, perhaps I was running with crazy patched versions of JARs. (its been known to happen)