Hello,

I'm sorry I couldn't search in the nashorn-dev@openjdk.java.net archives if
the subject has popped up during some discussions, so I let myself to write
you to get some informations about Options in general in Nashorn and
especially the redirection of Javascript console output to some files.

Here we have the option --stdout:

return nashornScriptEngineFactory.getScriptEngine(new String[] {
"-strict", "--persistent-code-cache",
            "--class-cache-size=50", "--stdout=\"nx-nashorn.log\"" },
null, new AutomationScriptingClassFilter());

But I cannot see the nx-nashorn.log creation anywhere.

Could it be possible to have examples for all of those options
<https://github.com/uditrugman/openjdk8-nashorn/blob/master/src/jdk/nashorn/internal/runtime/resources/Options.properties>
in general?

Thank you a lot for the work on Nashorn we use it massively!
-- 

Vladimir Pasquier

Nuxeo Dev
nuxeo.com <https://www.nuxeo.com/>

[image: www.nuxeo.com - Content Management Platform] <http://www.nuxeo.com/>

Reply via email to