For Linux, fix another case sensitivty check so resource change listener works
authorEd Swartz <ed.swartz@nokia.com>
Wed, 09 Dec 2009 08:31:57 -0600
changeset 654 3d9b565b1b72
parent 653 1003c657f83a
child 655 e78a18b4b6a0
For Linux, fix another case sensitivty check so resource change listener works
project/com.nokia.carbide.cpp.epoc.engine/src/com/nokia/carbide/internal/cpp/epoc/engine/model/WorkspaceModelProvider.java
--- a/project/com.nokia.carbide.cpp.epoc.engine/src/com/nokia/carbide/internal/cpp/epoc/engine/model/WorkspaceModelProvider.java	Tue Dec 08 15:31:51 2009 -0600
+++ b/project/com.nokia.carbide.cpp.epoc.engine/src/com/nokia/carbide/internal/cpp/epoc/engine/model/WorkspaceModelProvider.java	Wed Dec 09 08:31:57 2009 -0600
@@ -88,7 +88,7 @@
 				return path;
 		}
 		try {
-			return new Path(file.getCanonicalPath());
+			return FileUtils.findMatchingPathCaseInsensitive(new Path(file.getCanonicalPath()));
 		} catch (IOException e) {
 			EpocEnginePlugin.log(e);
 			return new Path(file.getAbsolutePath());