]
Ilya Buziuk edited comment on JBDS-4137 at 10/27/16 10:47 AM:
--------------------------------------------------------------
[~akazakov] no comments - info provided in the issue's description is correct and
informative
[~nickboldt] weird that it works for you without a hook though
was (Author: ibuziuk):
[~akazakov] no comments - info provided in the issue's description is correct and
informative
[~nickboldt] weird that it worls for you without a hook though
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
Assignee: Nick Boldt
Fix For: 10.2.0.AM3
Attachments: js-editor-works.png
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