[jbosstools-issues] [JBoss JIRA] (JBDS-4137) JS editor fails to open

Nick Boldt (JIRA) issues at jboss.org
Tue Oct 25 21:16:00 EDT 2016


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

Nick Boldt commented on JBDS-4137:
----------------------------------

Working on a fix but I'm not sure if these changes will simply be overwritten should another eclipse rpm package be installed after rh-eclipse46-devstudio is installed:

https://github.com/jbdevstudio/jbdevstudio-product/blob/master/rpm/devstudio.spec.template#L105-L124

> JS editor fails to open
> -----------------------
>
>                 Key: JBDS-4137
>                 URL: https://issues.jboss.org/browse/JBDS-4137
>             Project: Red Hat JBoss Developer Studio (devstudio)
>          Issue Type: Bug
>          Components: javascript, rpm, upstream
>    Affects Versions: 10.2.0.AM2
>            Reporter: Alexey Kazakov
>             Fix For: 10.2.0.AM3
>
>
> JavaScript Editor is not working OOTB in Eclipse/devstudio installed via RPM. It fails because of missing JSDT/Equinox hook for Nashorn in eclipse.ini. See https://wiki.eclipse.org/JSDT/Equinox_hook_for_Nashorn
> The same error occurs if JSDT installed to an existing Eclipse via p2. So it's rather an upstream issue.
> The following line added to eclipse.ini fixes the problem:
> {code}-Dosgi.framework.extensions=org.eclipse.wst.jsdt.nashorn.extension{code}
> It works OOTB in devstudio installed via our installer because we have this hook in devstudio.ini  



--
This message was sent by Atlassian JIRA
(v7.2.2#72004)


More information about the jbosstools-issues mailing list