--- a/builder/com.nokia.carbide.cdt.builder/META-INF/MANIFEST.MF Mon Aug 30 14:58:15 2010 -0500
+++ b/builder/com.nokia.carbide.cdt.builder/META-INF/MANIFEST.MF Mon Aug 30 14:58:50 2010 -0500
@@ -1,6 +1,6 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
-Bundle-Name: Builder Plug-in
+Bundle-Name: Builder
Bundle-SymbolicName: com.nokia.carbide.cdt.builder; singleton:=true
Bundle-Version: 2.0.0.qualifier
Bundle-Activator: com.nokia.carbide.cdt.builder.CarbideBuilderPlugin
--- a/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/api/builder/ui/ManageConfigurationsDialog.java Mon Aug 30 14:58:15 2010 -0500
+++ b/builder/com.nokia.carbide.cdt.builder/src/com/nokia/carbide/cdt/internal/api/builder/ui/ManageConfigurationsDialog.java Mon Aug 30 14:58:50 2010 -0500
@@ -151,6 +151,7 @@
if (HostOS.IS_WIN32){
ISDKManager sdkMgr = SDKCorePlugin.getSDKManager();
+ ((SDKManager)sdkMgr).ensureSystemDrivesSynchronized();
if (!((SDKManager)sdkMgr).checkDevicesXMLSynchronized()){
if (sdkMgr instanceof ISDKManagerInternal){
ISDKManagerInternal sdkMgrInternal = (ISDKManagerInternal)sdkMgr;
--- a/builder/com.nokia.carbide.cpp.builder.utils/META-INF/MANIFEST.MF Mon Aug 30 14:58:15 2010 -0500
+++ b/builder/com.nokia.carbide.cpp.builder.utils/META-INF/MANIFEST.MF Mon Aug 30 14:58:50 2010 -0500
@@ -1,6 +1,6 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
-Bundle-Name: Carbide Builder Utils Plugin
+Bundle-Name: Carbide Builder Utils
Bundle-SymbolicName: com.nokia.carbide.cpp.builder.utils;singleton:=true
Bundle-Version: 1.4.0.qualifier
Bundle-Activator: com.nokia.carbide.cpp.internal.builder.utils.Activator
--- a/core/com.nokia.carbide.XULRunnerInitializer/META-INF/MANIFEST.MF Mon Aug 30 14:58:15 2010 -0500
+++ b/core/com.nokia.carbide.XULRunnerInitializer/META-INF/MANIFEST.MF Mon Aug 30 14:58:50 2010 -0500
@@ -1,9 +1,9 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: XULRunnerInitializer
-Bundle-SymbolicName: com.nokia.carbide.XULRunnerInitializer
+Bundle-SymbolicName: com.nokia.carbide.XULRunnerInitializer;singleton:=true
Bundle-Version: 1.0.0.qualifier
-Bundle-Vendor: NOKIA
+Bundle-Vendor: Nokia
Fragment-Host: org.eclipse.swt;bundle-version="3.6.0"
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Require-Bundle: org.eclipse.core.runtime;bundle-version="3.6.0",
--- a/core/com.nokia.carbide.cpp.compiler.doc.user/META-INF/MANIFEST.MF Mon Aug 30 14:58:15 2010 -0500
+++ b/core/com.nokia.carbide.cpp.compiler.doc.user/META-INF/MANIFEST.MF Mon Aug 30 14:58:50 2010 -0500
@@ -5,3 +5,4 @@
Bundle-Version: 1.4.0.qualifier
Bundle-Vendor: Nokia
Bundle-Localization: plugin
+Bundle-ActivationPolicy: lazy
--- a/core/com.nokia.carbide.cpp.doc.user/META-INF/MANIFEST.MF Mon Aug 30 14:58:15 2010 -0500
+++ b/core/com.nokia.carbide.cpp.doc.user/META-INF/MANIFEST.MF Mon Aug 30 14:58:50 2010 -0500
@@ -7,3 +7,4 @@
Bundle-Localization: plugin
Require-Bundle: org.eclipse.help,
org.eclipse.ui.cheatsheets
+Bundle-ActivationPolicy: lazy
--- a/core/com.nokia.carbide.cpp.oss/META-INF/MANIFEST.MF Mon Aug 30 14:58:15 2010 -0500
+++ b/core/com.nokia.carbide.cpp.oss/META-INF/MANIFEST.MF Mon Aug 30 14:58:50 2010 -0500
@@ -1,6 +1,7 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
-Bundle-Name: OSS Plug-in
-Bundle-SymbolicName: com.nokia.carbide.cpp.oss
+Bundle-Name: OSS
+Bundle-SymbolicName: com.nokia.carbide.cpp.oss;singleton:=true
Bundle-Version: 1.4.0.qualifier
Bundle-Vendor: Nokia
+Bundle-ActivationPolicy: lazy
--- a/core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/sdk/core/model/SDKManager.java Mon Aug 30 14:58:15 2010 -0500
+++ b/core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/sdk/core/model/SDKManager.java Mon Aug 30 14:58:50 2010 -0500
@@ -61,6 +61,8 @@
private static final String MIFCONV_FILE = "epoc32/tools/mifconv" + HostOS.EXE_EXT; //$NON-NLS-1$
private static final String ABLD_FILE = "epoc32/tools/abld.pl"; //$NON-NLS-1$
private static final long VALID_ABLD_SIZE = 1024;
+
+ private File[] systemDrives;
static boolean hasPromptedForDevicesXML = false; // make sure we only ask once at startup if devices.xml does not exist
long devicesXLMLastModified;
@@ -366,6 +368,14 @@
}
}
+ public void ensureSystemDrivesSynchronized() {
+ if (HostOS.IS_WIN32) {
+ if (systemDrives != null && getSystemDrives().length > systemDrives.length) {
+ scanSDKs();
+ }
+ }
+ }
+
@Override
protected boolean isEPOCRootFixed() {
return true;
@@ -375,7 +385,7 @@
* Scan system drives for installed SDKs
*/
protected void doScanDrives(IProgressMonitor monitor) {
- File[] drives = getSystemDrives();
+ File[] drives = systemDrives = getSystemDrives();
monitor.beginTask("Scanning system drives for installed SDKs", drives.length);
for (File drive : drives) {
if (!isEPOCRoot(drive)) {
--- a/core/com.nokia.carbide.cpp.ui/META-INF/MANIFEST.MF Mon Aug 30 14:58:15 2010 -0500
+++ b/core/com.nokia.carbide.cpp.ui/META-INF/MANIFEST.MF Mon Aug 30 14:58:50 2010 -0500
@@ -1,6 +1,6 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
-Bundle-Name: Carbide.c++ UI Plugin
+Bundle-Name: Carbide.c++ UI
Bundle-SymbolicName: com.nokia.carbide.cpp.ui;singleton:=true
Bundle-Version: 1.4.0.qualifier
Bundle-Activator: com.nokia.carbide.cpp.ui.CarbideUIPlugin
--- a/core/com.nokia.cpp.utils.ui/META-INF/MANIFEST.MF Mon Aug 30 14:58:15 2010 -0500
+++ b/core/com.nokia.cpp.utils.ui/META-INF/MANIFEST.MF Mon Aug 30 14:58:50 2010 -0500
@@ -1,7 +1,7 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Carbide.c++ UI Utilities
-Bundle-SymbolicName: com.nokia.cpp.utils.ui
+Bundle-SymbolicName: com.nokia.cpp.utils.ui;singleton:=true
Bundle-Version: 1.0.0.qualifier
Bundle-Activator: com.nokia.cpp.utils.ui.noexport.UtilsUIPlugin
Bundle-Vendor: Nokia
--- a/project/com.nokia.carbide.cpp.project.core/META-INF/MANIFEST.MF Mon Aug 30 14:58:15 2010 -0500
+++ b/project/com.nokia.carbide.cpp.project.core/META-INF/MANIFEST.MF Mon Aug 30 14:58:50 2010 -0500
@@ -1,6 +1,6 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
-Bundle-Name: Carbide Project Core Plug-in
+Bundle-Name: Carbide Project
Bundle-SymbolicName: com.nokia.carbide.cpp.project.core; singleton:=true
Bundle-Version: 2.0.0.qualifier
Bundle-Activator: com.nokia.carbide.cpp.project.core.ProjectCorePlugin
--- a/project/com.nokia.carbide.cpp.project.ui/META-INF/MANIFEST.MF Mon Aug 30 14:58:15 2010 -0500
+++ b/project/com.nokia.carbide.cpp.project.ui/META-INF/MANIFEST.MF Mon Aug 30 14:58:50 2010 -0500
@@ -1,6 +1,6 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
-Bundle-Name: Carbide Project UI Plug-in
+Bundle-Name: Carbide Project UI
Bundle-SymbolicName: com.nokia.carbide.cpp.project.ui; singleton:=true
Bundle-Version: 1.4.0.qualifier
Bundle-Activator: com.nokia.carbide.cpp.internal.project.ui.ProjectUIPlugin
--- a/project/com.nokia.carbide.cpp.project.ui/src/com/nokia/carbide/cpp/internal/project/ui/importWizards/BldInfImportWizard.java Mon Aug 30 14:58:15 2010 -0500
+++ b/project/com.nokia.carbide.cpp.project.ui/src/com/nokia/carbide/cpp/internal/project/ui/importWizards/BldInfImportWizard.java Mon Aug 30 14:58:50 2010 -0500
@@ -71,6 +71,7 @@
ISDKManager sdkMgr = SDKCorePlugin.getSDKManager();
if (HostOS.IS_WIN32){
+ ((SDKManager)sdkMgr).ensureSystemDrivesSynchronized();
if (!((SDKManager)sdkMgr).checkDevicesXMLSynchronized()){
if (sdkMgr instanceof ISDKManagerInternal){
ISDKManagerInternal sdkMgrInternal = (ISDKManagerInternal)sdkMgr;
--- a/project/com.nokia.carbide.cpp.project.ui/src/com/nokia/carbide/cpp/internal/project/ui/wizards/NewSymbianOSCppProjectWizard.java Mon Aug 30 14:58:15 2010 -0500
+++ b/project/com.nokia.carbide.cpp.project.ui/src/com/nokia/carbide/cpp/internal/project/ui/wizards/NewSymbianOSCppProjectWizard.java Mon Aug 30 14:58:50 2010 -0500
@@ -55,6 +55,7 @@
if (HostOS.IS_WIN32){
ISDKManager sdkMgr = SDKCorePlugin.getSDKManager();
+ ((SDKManager)sdkMgr).ensureSystemDrivesSynchronized();
if (!((SDKManager)sdkMgr).checkDevicesXMLSynchronized()){
if (sdkMgr instanceof ISDKManagerInternal){
ISDKManagerInternal sdkMgrInternal = (ISDKManagerInternal)sdkMgr;