forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r233195 - in /forrest/trunk/tools/eclipse/plugins/org.apache.forrest: META-INF/MANIFEST.MF src/org/apache/forrest/eclipse/job/ForrestRunner.java
Date Wed, 17 Aug 2005 16:33:21 GMT
Author: rgardler
Date: Wed Aug 17 09:33:05 2005
New Revision: 233195

URL: http://svn.apache.org/viewcvs?rev=233195&view=rev
Log:
WTP 0.7 compatability (reported by Adam Chandler)

Modified:
    forrest/trunk/tools/eclipse/plugins/org.apache.forrest/META-INF/MANIFEST.MF
    forrest/trunk/tools/eclipse/plugins/org.apache.forrest/src/org/apache/forrest/eclipse/job/ForrestRunner.java

Modified: forrest/trunk/tools/eclipse/plugins/org.apache.forrest/META-INF/MANIFEST.MF
URL: http://svn.apache.org/viewcvs/forrest/trunk/tools/eclipse/plugins/org.apache.forrest/META-INF/MANIFEST.MF?rev=233195&r1=233194&r2=233195&view=diff
==============================================================================
--- forrest/trunk/tools/eclipse/plugins/org.apache.forrest/META-INF/MANIFEST.MF (original)
+++ forrest/trunk/tools/eclipse/plugins/org.apache.forrest/META-INF/MANIFEST.MF Wed Aug 17
09:33:05 2005
@@ -48,7 +48,7 @@
  org.eclipse.debug.core,
  org.eclipse.ui.ide,
  org.eclipse.debug.ui,
- org.eclipse.wst.internet.webbrowser,
  org.apache.forrest.eclipse.servletEngine,
- org.eclipse.ui.views
+ org.eclipse.ui.views,
+ org.eclipse.wst.web.ui
 Eclipse-AutoStart: true

Modified: forrest/trunk/tools/eclipse/plugins/org.apache.forrest/src/org/apache/forrest/eclipse/job/ForrestRunner.java
URL: http://svn.apache.org/viewcvs/forrest/trunk/tools/eclipse/plugins/org.apache.forrest/src/org/apache/forrest/eclipse/job/ForrestRunner.java?rev=233195&r1=233194&r2=233195&view=diff
==============================================================================
--- forrest/trunk/tools/eclipse/plugins/org.apache.forrest/src/org/apache/forrest/eclipse/job/ForrestRunner.java
(original)
+++ forrest/trunk/tools/eclipse/plugins/org.apache.forrest/src/org/apache/forrest/eclipse/job/ForrestRunner.java
Wed Aug 17 09:33:05 2005
@@ -33,8 +33,6 @@
 import org.eclipse.swt.widgets.Display;
 import org.eclipse.ui.browser.IWebBrowser;
 import org.eclipse.ui.browser.IWorkbenchBrowserSupport;
-import org.eclipse.wst.internet.webbrowser.internal.Trace;
-import org.eclipse.wst.internet.webbrowser.internal.WebBrowserUIPlugin;
 
 /**
  * Run a version of Forrest
@@ -179,15 +177,14 @@
                 URL url;
                 try {
                     url = new URL("http://localhost:8888");
-                    IWorkbenchBrowserSupport browserSupport = WebBrowserUIPlugin
-                            .getInstance().getWorkbench().getBrowserSupport();
+                    IWorkbenchBrowserSupport browserSupport = ForrestPlugin.getDefault().getWorkbench().getBrowserSupport();
                     IWebBrowser browser = browserSupport.createBrowser(
                             IWorkbenchBrowserSupport.LOCATION_BAR
                                     | IWorkbenchBrowserSupport.NAVIGATION_BAR,
                             null, null, null);
                     browser.openURL(url);
                 } catch (Exception e) {
-                    Trace.trace(Trace.SEVERE, "Error opening browser", e);
+                    logger.error("Error opening browser", e);
                 }
             }
         });



Mime
View raw message