[
https://issues.jboss.org/browse/JBDS-4137?page=com.atlassian.jira.plugin....
]
Nick Boldt commented on JBDS-4137:
----------------------------------
Even without this fix in place, I can create a new javascript project, then a javascript
source file, and then edit it with context sensitive help. Could be because I fixed the
m2e problems as explained in JBDS-4136 ?
!js-editor-works.png!
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
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)