[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[p2-dev] GC problem

Here is the broad outline of my problem.

Good case
- extract sdk
- add HelloWorld feature through the p2 UI
- add program to initiate garbage collector through p2 UI
- uninstall HelloWorld, restart
- initiate garbage collection
- HelloWorld is successfully removed.

Bad case
1. mirrored the 3.5 update site locally
-2. provisioned sdk using the director app
.\eclipsec.exe -data ..\workspace -vm "C:\Program Files\IBM\Java60\jre\bin\classic\jvm.dll" -profileproperties org.eclipse.update.install.features=true,org.eclipse.equinox.p2.roaming=true -application org.eclipse.equinox.p2.director -repository file:c:/35work/35mirrorSite/ -installIU org.eclipse.sdk.ide -destination C:\35work\35provisioned\eclipse -profile myprofile
3. tried out new sdk. Seems functional.
4. provisioned HelloWorld using director app
.\eclipsec.exe -data ..\workspace -vm "C:\Program Files\IBM\Java60\jre\bin\classic\jvm.dll" -profileproperties org.eclipse.update.install.features=true,org.eclipse.equinox.p2.roaming=true -application org.eclipse.equinox.p2.director -repository file:C:/ctempP2/HelloWorldSite/ -installIU HelloWorldFeature.feature.group/1.0.0 -destination C:\35work\35provisioned\eclipse -profile myprofile
5. Added the garbage collector feature through p2 UI in new sdk
6. Uninstalled HelloWorld, restarted
7. start the garbage collector

The problem is that the actual HelloWorld bundle remains in the bundlepool. It is in the plugins directory and in the artifact.xml. I was expecting it to be removed just as it was in the good case.