[jbosstools-issues] [JBoss JIRA] (JBDS-3331) Installation of JBDS/JBoss Tools into Red Hat Developer Toolset

Denis Golovin (JIRA) issues at jboss.org
Thu Feb 19 14:07:49 EST 2015


    [ https://issues.jboss.org/browse/JBDS-3331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042156#comment-13042156 ] 

Denis Golovin commented on JBDS-3331:
-------------------------------------

DownloadRuntimeLicenseFragment catches Exception and that is wrong because SWTError extends Error class which in turn extends Throwable so it never gets to try loading WebKit based browser (I'll create and link issue about this later)
{code}
		try {
>>>			browser = new Browser(wrap, SWT.NONE);
		} catch (Exception e1) {
			browser = new Browser(wrap, SWT.WEBKIT);
		}
{code}

Using SWT.NONE style for Browser() force this code 

{code}package org.eclipse.swt.browser;

import org.eclipse.swt.SWT;

class BrowserFactory {

WebBrowser createWebBrowser (int style) {
	boolean webkitInstalled = WebKit.IsInstalled ();
	if ((style & SWT.MOZILLA) != 0 || (!webkitInstalled && (style & SWT.WEBKIT) == 0)) {
		return new Mozilla ();
	}
	if (!webkitInstalled) return null;

	return new WebKit ();
}

}
{code}

to return new Mozilla() instance which fails to load native libraries. 
It looks like nether xulrunner nor webkit browser is available. 






> Installation of JBDS/JBoss Tools into Red Hat Developer Toolset
> ---------------------------------------------------------------
>
>                 Key: JBDS-3331
>                 URL: https://issues.jboss.org/browse/JBDS-3331
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Feature Request
>          Components: updatesite
>         Environment: RHEL Desktop
>            Reporter: Burr Sutter
>            Assignee: Max Rydahl Andersen
>         Attachments: Download_EAP.png, log, Non_reproducible_error.png, RHEL66_jbosstools-diagnostics-20150127000831.zip, RH_Dev_Toolset.png, Welcome.png
>
>
> As a RHEL Desktop user and application developer, I wish to install the JBDS/JBoss Tools features/plug-ins into my previously installed version of DTS - Developer Toolset
> https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/
> Help - Install New Software



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jbosstools-issues mailing list