You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by hi...@apache.org on 2012/07/23 20:12:18 UTC

svn commit: r1364740 - in /ant/ivy/ivyde/trunk: doc/release-notes.html org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/views/ReportView.java

Author: hibou
Date: Mon Jul 23 18:12:18 2012
New Revision: 1364740

URL: http://svn.apache.org/viewvc?rev=1364740&view=rev
Log:
IVYDE-292: on linux, url="" doesn't work, so let's try setting an empty html page

Modified:
    ant/ivy/ivyde/trunk/doc/release-notes.html
    ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/views/ReportView.java

Modified: ant/ivy/ivyde/trunk/doc/release-notes.html
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/doc/release-notes.html?rev=1364740&r1=1364739&r2=1364740&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/doc/release-notes.html (original)
+++ ant/ivy/ivyde/trunk/doc/release-notes.html Mon Jul 23 18:12:18 2012
@@ -126,6 +126,7 @@ List of changes since <a href="/ivy/ivyd
 <ul>
     <li>FIX: org.eclipse.swt.SWTException: Invalid thread access with Eclipse Juno (IVYDE-313)</li>
     <li>FIX: Divide by zero during IvyDE resolve (IVYDE-312) (thanks to Joe Sortelli)</li>
+    <li>FIX: Ivy report view stopped working on Linux (IVYDE-292)</li>
 </ul>
 <ul>
     <li>NEW: Support Accepted Types: * (IVYDE-306)</li>

Modified: ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/views/ReportView.java
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/views/ReportView.java?rev=1364740&r1=1364739&r2=1364740&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/views/ReportView.java (original)
+++ ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/ui/views/ReportView.java Mon Jul 23 18:12:18 2012
@@ -58,10 +58,10 @@ public class ReportView extends ViewPart
             IvyClasspathContainer ivycp = IvyClasspathUtil
                     .getIvyClasspathContainer((IStructuredSelection) sel);
             if (ivycp != null) {
-                browser.setUrl("");
+                browser.setText("<html></html>");
                 URL report = ivycp.getReportUrl();
                 if (report == null || !browser.setUrl(report.toExternalForm())) {
-                    browser.setUrl("");
+                    browser.setText("<html></html>");
                     Message.warn("impossible to set report view url to " + report.toExternalForm());
                 }
             }