core/com.nokia.carbide.cpp.sdk.ui/src/com/nokia/carbide/cpp/sdk/ui/shared/BuildTargetsPage.java
changeset 610 bfb3ab3f70f2
parent 356 c9e7d55745c8
child 1270 ad41cb5ef65f
--- a/core/com.nokia.carbide.cpp.sdk.ui/src/com/nokia/carbide/cpp/sdk/ui/shared/BuildTargetsPage.java	Wed Dec 02 14:40:51 2009 -0600
+++ b/core/com.nokia.carbide.cpp.sdk.ui/src/com/nokia/carbide/cpp/sdk/ui/shared/BuildTargetsPage.java	Wed Dec 02 15:02:05 2009 -0600
@@ -45,6 +45,7 @@
 import com.nokia.carbide.internal.api.templatewizard.ui.IWizardDataPage;
 import com.nokia.carbide.template.engine.ITemplate;
 import com.nokia.cpp.internal.api.utils.core.Check;
+import com.nokia.cpp.internal.api.utils.core.HostOS;
 
 /**
  * Wizard page used to select a list of Carbide.c++ build configurations.  Currently used
@@ -274,6 +275,11 @@
 	
 	protected void checkPathWithSDKs(IPath path) {
 		setMessage(null);
+		
+		// drives are relevant in Windows only
+		if (!HostOS.IS_WIN32)
+			return;
+		
 		for (ISymbianBuildContext context : getSelectedBuildConfigs()) {
 			Path sdkPath = new Path(context.getSDK().getEPOCROOT());
 			if (sdkPath.getDevice() != null) {