Community
Participate
Working Groups
Created attachment 93893 [details] patch As part of the backwards compatibility story, we need to watch the platform.xml file in case the user uses the old update manager UI (or a headless app) to install a feature. In this case we would want to detect a change to the platform.xml file and install the right bundles into the bundles.info. I've attached a patch for my current work. Ok, so its not current and won't apply to HEAD. But I don't want to lose this code. At last check it was working, but we were getting 2 "hey your config has changed, did you want to restart?" dialogs. One from the update manager noticing that the platform.xml had changed and one from p2 because the bundles.info had changed.
we need to think about how we want to reference the various watched dropin repositories. In bug 223422 we're currently nulling them out after doing the reconcile associated with bundle activation so we need to be a bit cautious here with re-enabling the platform.xml listener.
Just to add an update of where we are: - we released most of our code to HEAD - the Activator for the reconciler.dropins bundle still has the call to watch the configuration disabled - we can install features (e.g. CDT) with the old Update Manager UI to new sites (e.g. d:/temp/ext.location/) and then on restart they are known to p2 We have problems with uninstall but they are known problems since the links folder is treated the same as the dropins folder and we can't uninstall anything from there. (via the UI) This is due to the way that we construct the metadata for the dropins and have an all-containing super-IU.
*** Bug 225202 has been marked as a duplicate of this bug. ***
Dave and I feel good about our progress here and hope to release our changes to HEAD this week. Setting target to M7.
I have enabled the platform.xml watching support in HEAD.
I am going to close this bug report as the main functionality has been released. New bug reports can be opened for any bugs that come up. Some already existing bugs of interest: bug 222567 - Enable site filtering policy in platform.xml watcher bug 227547 - Changes only noticed on startup bug 221573 - Strange file:. URL in platform.xml (missing platform:/base/ URLs)