]
Alexey Kazakov commented on JBDS-4137:
--------------------------------------
No, m2e is not related to JSDT. Are you sure you don't have
-Dosgi.framework.extensions=org.eclipse.wst.jsdt.nashorn.extension in your eclipse.ini?
[~ibuziuk] any comments?
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