Commiting more changes to fix RSE issues with PHP projects.
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / ltk / core / RenameIdentifierDelegate.java
index 4313127..2ec493e 100644 (file)
@@ -95,12 +95,12 @@ public class RenameIdentifierDelegate {
                                                        }
                                                } catch (CoreException e) {
                                                        String msg = "Project: "
-                                                                       + project.getLocation().toOSString()
+                                                                       + project.getFullPath().toOSString()
                                                                        + " CoreException " + e.getMessage();
                                                        result.addError(msg);
                                                } catch (Exception e) {
                                                        String msg = "Project: "
-                                                                       + project.getLocation().toOSString()
+                                                                       + project.getFullPath().toOSString()
                                                                        + " Exception " + e.getMessage();
                                                        result.addError(msg);
                                                }
@@ -108,7 +108,7 @@ public class RenameIdentifierDelegate {
                                }
                        } catch (CoreException e) {
                                String msg = "Workspace: "
-                                               + rootContainer.getLocation().toOSString()
+                                               + rootContainer.getFullPath().toOSString()
                                                + " CoreException " + e.getMessage();
                                result.addError(msg);
                        }
@@ -119,11 +119,11 @@ public class RenameIdentifierDelegate {
                                        search(project, result);
                                }
                        } catch (CoreException e) {
-                               String msg = "Project: " + project.getLocation().toOSString()
+                               String msg = "Project: " + project.getFullPath().toOSString()
                                                + " CoreException " + e.getMessage();
                                result.addError(msg);
                        } catch (Exception e) {
-                               String msg = "Project: " + project.getLocation().toOSString()
+                               String msg = "Project: " + project.getFullPath().toOSString()
                                                + " Exception " + e.getMessage();
                                result.addError(msg);
                        }
@@ -306,17 +306,17 @@ public class RenameIdentifierDelegate {
                                }
 
                        } catch (InvalidInputException e) {
-                               String msg = "File: " + file.getLocation().toOSString()
+                               String msg = "File: " + file.getFullPath().toOSString()
                                                + " InvalidInputException " + e.getMessage();
                                status.addError(msg);
                        } catch (SyntaxError e) {
-                               String msg = "File: " + file.getLocation().toOSString()
+                               String msg = "File: " + file.getFullPath().toOSString()
                                                + " SyntaxError " + e.getMessage();
                                status.addError(msg);
                        }
 
                } catch (Exception e) {
-                       String msg = "File: " + file.getLocation().toOSString()
+                       String msg = "File: " + file.getFullPath().toOSString()
                                        + " Exception " + e.getMessage();
                        status.addError(msg);
                }