Bug 2431 - Import gives incorrect warning
authorEugene Ostroukhov <eugeneo@symbian.org>
Tue, 30 Mar 2010 15:20:42 -0700
changeset 292 d1d1c556b0d1
parent 291 279eaef091eb
child 293 06ebebf8fbc9
Bug 2431 - Import gives incorrect warning
org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/wizards/projectimport/WrtProjectLocationWizardPage.java
--- a/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/wizards/projectimport/WrtProjectLocationWizardPage.java	Tue Mar 30 10:01:32 2010 -0700
+++ b/org.symbian.tools.wrttools/src/org/symbian/tools/wrttools/wizards/projectimport/WrtProjectLocationWizardPage.java	Tue Mar 30 15:20:42 2010 -0700
@@ -1061,6 +1061,10 @@
 
 		Path path = new Path(pathString);
 
+        if (path.segmentCount() > 1 && ".settings".equals(path.segment(1))) {
+            return NO;
+        }
+
 		String messageString;
 		// Break the message up if there is a file name and a directory
 		// and there are at least 2 segments.