Stdout Option
Hannes Wallnoefer
hannes.wallnoefer at oracle.com
Wed Oct 28 07:46:48 UTC 2015
Hi Vladimir,
I haven't used this option myself, and looking at the code it seems like
--stdout and --stderr are not supported anymore. I'm not entirely shure
about this. I'll check with the team and get back to you.
Hannes
Am 2015-10-27 um 15:11 schrieb Vladimir Pasquier:
> Hello,
>
> I'm sorry I couldn't search in the nashorn-dev at 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!
More information about the nashorn-dev
mailing list