[jbosstools-issues] [JBoss JIRA] (JBIDE-19335) org.jboss.tools.runtime.ui.internal.wizard.DownloadRuntimeLicenseFragment fails with SWTError without browser available

Rob Stryker (JIRA) issues at jboss.org
Fri Sep 4 16:58:00 EDT 2015


     [ https://issues.jboss.org/browse/JBIDE-19335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Stryker resolved JBIDE-19335.
---------------------------------
    Resolution: Done


I've cleaned it up a bit, added an API to supress logging (for the case where we just return a link of no browser is available), and to wrap the error in an exception so that it doesn't cause the life-threatening workspace error dialog that will scare many users. 

Hope this makes it more usable. 

> org.jboss.tools.runtime.ui.internal.wizard.DownloadRuntimeLicenseFragment fails with SWTError without browser available
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-19335
>                 URL: https://issues.jboss.org/browse/JBIDE-19335
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: common/jst/core, runtime-detection
>    Affects Versions: 4.2.3.Beta1, 4.3.0.Alpha1
>         Environment: Linux
>            Reporter: Denis Golovin
>            Assignee: Denis Golovin
>             Fix For: 4.3.0.CR1
>
>
> DownloadRuntimeLicenseFragment  should work even without browser widget available and show html or text without html tags with <p> and <br> elements replaced with '\n'.
> Steps to tests the issue:
> 1. Linux disto without webkit or xulrunner (I was using xubuntu to verify)
> 2. Run JBT and try to download WildFly using Runtime Download dialog;
> 3. It should show not fail with SWTError when presenting license step, but show the link to the license, so you can click on it to open system browser or copy/past it into your favorite one
> 4. Close eclipse
> 5. Install libwebkit
> 6. Start eclipse, do WildFly downloading steps again and you should see license text inside dialog.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list