Use external tools package to run commands for apache, mysql, php
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / actions / PHPEclipseShowAction.java
index 29a88f5..18b7858 100644 (file)
@@ -37,9 +37,9 @@ import org.eclipse.ui.IViewPart;
 import org.eclipse.ui.IWorkbenchPage;
 import org.eclipse.ui.IWorkbenchPart;
 import org.eclipse.ui.PartInitException;
-import org.eclipse.ui.help.WorkbenchHelp;
 import org.eclipse.update.internal.ui.UpdatePerspective;
-import org.eclipse.update.internal.ui.UpdateUIPlugin;
+import org.eclipse.ui.help.WorkbenchHelp;
+
 import org.eclipse.update.internal.ui.views.IEmbeddedWebBrowser;
 //import org.eclipse.jdt.internal.ui.actions.OpenBrowserUtil;
 // import org.eclipse.help.ui.browser.LaunchURL;
@@ -150,7 +150,7 @@ public class PHPEclipseShowAction implements IObjectActionDelegate {
       store = PHPeclipsePlugin.getDefault().getPreferenceStore();
     }
 
-    IPath path = file.getFullPath();
+   // IPath path = file.getFullPath();
 
     String localhostURL = file.getLocation().toString();
     String lowerCaseFileName = localhostURL.toLowerCase();
@@ -180,7 +180,7 @@ public class PHPEclipseShowAction implements IObjectActionDelegate {
           page.bringToTop(part);
         ((IEmbeddedWebBrowser) part).openTo(url.toExternalForm());
       } catch (PartInitException e) {
-        UpdateUIPlugin.logException(e);
+        PHPeclipsePlugin.log(e);
       }
     } else {
       IHelp help = WorkbenchHelp.getHelpSupport();