X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/obfuscator/export/WizardObfuscatorResourceExportPage1.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/obfuscator/export/WizardObfuscatorResourceExportPage1.java index bb5dd99..276c8e5 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/obfuscator/export/WizardObfuscatorResourceExportPage1.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/obfuscator/export/WizardObfuscatorResourceExportPage1.java @@ -488,13 +488,13 @@ class WizardObfuscatorResourceExportPage1 extends WizardExportResourcesPage IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot(); IPath testPath = new Path(targetDirectory); - if (root.getLocation().isPrefixOf(testPath)) + if (root.getFullPath().isPrefixOf(testPath)) return ObfuscatorExportMessages.getString("FileExport.rootName"); //$NON-NLS-1$ IProject[] projects = root.getProjects(); for (int i = 0; i < projects.length; i++) { - if (projects[i].getLocation().isPrefixOf(testPath)) + if (projects[i].getFullPath().isPrefixOf(testPath)) return projects[i].getName(); }