Commiting more changes to fix RSE issues with PHP projects.
[phpeclipse.git] / net.sourceforge.phpeclipse.webbrowser / src / net / sourceforge / phpeclipse / webbrowser / internal / OpenWithBrowserActionDelegate.java
index 18cdc65..8257d59 100644 (file)
@@ -49,7 +49,7 @@ public class OpenWithBrowserActionDelegate implements IActionDelegate {
        public void run(IAction action) {
                URL url = null;
                try {
-                       url = new URL("file://" + resource.getLocation());
+                       url = new URL("file://" + resource.getFullPath());
                        WebBrowser.openURL(new WebBrowserEditorInput(url,
                                        WebBrowserEditorInput.SHOW_ALL
                                                        | WebBrowserEditorInput.FORCE_NEW_PAGE));