Hi All,
Build.xml
<basename property="job.language.upper" file="${basedir}${file.separator}..${file.separator}"/>
<scriptdef language="javascript" name="lower">
<attribute name="string"/>
<attribute name="to"/>
project.setProperty(attributes.get("to"),attributes.get("string").toLowerCase());
</scriptdef>
ERROR:
[lower] ScriptEngineManager providers.next(): javax.script.ScriptEngineFactory: Provider com.oracle.truffle.js.scriptengine.GraalJSEngineFactory could not be instantiated
Java 15 has removed Nashorn, you must provide an engine for running JavaScript yourself. GraalVM JavaScript currently is the preferred option.
Note: No issue while running using DITAOT 1.8.
Please share any ideas, if you have solved them before.
Regards
Ganapathy