[closed] DOORS and RPE Javascript version out-of-date. How to update to current version? Plus other tools.
I have DOORS v9.7.0.1 and RPE v6.0.6. They are running Javascript 2015 that came with these tools.
However, I'd like to use the language features of a newer version of Javascript 2021 and later.
Can the Javascript be udated to a newer version separately from the update cycle of IBM's products and that it will work without problem assuming no javascript to backtool issues? Or, do I have to treat them as libraries extensions to the language and tell my RPE template to use the library. If so what about variations of javascript that is used?
What about doing the same for the Java language version for these tools or any of the DNG toolsets i.e. RQM etc? Or, do I have to have my code or the toolset pull in a different java language and treat it as a library?
Since I'm not the admin nor control when IBM tools are updated, the work around for me to use newer javascript and java language is via the library. Moreover, also wondering if my RPE template can use some python libraries via the RPE toolset library feature.
If an old version of DOORS only understands old javascript, one could pull data from DOORS using the old javascript, but manipulate it via user code and the newer javascript via RPE libraries before export to word etc.
The question has been closed for the following reason: "The question is answered, right answer was accepted" by rschoon Apr 20 '23, 3:26 a.m.
One answer
I would like this answer to be answered somehow. The answers seem to be
- RPE - You can not change the JavaScript version as it is packaged with the product. If anyone knows, it is Fariz. If you have older reports that need to be run in newer versions of RPE, you might have to update the report in case there are breaking changes in the new JavaScript. I do not know how likely that is.
- I do not know about the namespaces, but I would find it surprising if they are version sensitive.
I would suggest you find an error based on your expectations and then contact support, so we have some actionable use case we can work on. Since so far I do not find anything actionable, I will close the question for the time being.
Comments
Fariz Saracevic
FORUM MODERATOR / JAZZ DEVELOPER Apr 18 '23, 5:17 a.m.For Publishing (formerly RPE), you can not update JavaScript version as it is embedded with Publishing itself. I would expect the same for DOORS.
David Honey
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Apr 19 '23, 12:53 p.m.Use the JRE that is shipped in
/server/jre
for your ELM version. The use of later versions of Java is likely to be untested and unsupported, and you do so at your own risk.Michael Sweger
Apr 18 '23, 8:35 a.m.