commit | c5ee247b977b4721d80dffb1be1a33778f478944 | [log] [tgz] |
---|---|---|
author | Pascal Rapicault <pascal@rapicault.net> | Thu May 24 15:42:56 2012 -0400 |
committer | Pascal Rapicault <pascal@rapicault.net> | Thu May 24 15:45:19 2012 -0400 |
tree | 343cb481088b0a49e1a70221d2ee75b01ff7cb16 | |
parent | 7dc1d927610c39c2f7542fca85c08794a138ef14 [diff] |
Bug 380176 - List of available software sites is cleared when Eclipse is restarted
diff --git a/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/repository/Activator.java b/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/repository/Activator.java index 196f09f..e212929 100644 --- a/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/repository/Activator.java +++ b/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/repository/Activator.java
@@ -29,6 +29,9 @@ public void start(BundleContext aContext) throws Exception { Activator.context = aContext; + + //Force the startup of the registry bundle to make sure that the preference scope is registered + Class.forName("org.eclipse.core.runtime.IExtensionRegistry"); //$NON-NLS-1$ } public void stop(BundleContext aContext) throws Exception {