gosu-lang / gradle-gosu-plugin

BSD 3-Clause "New" or "Revised" License
5 stars 7 forks source link

JAVA_TOOL_OPTIONS, sent to stderr, causes task failure #23

Closed DPUkyle closed 8 years ago

DPUkyle commented 8 years ago

The value of env var JAVA_TOOL_OPTIONS, if set, is printed to System.err. This trips the logic where I fail the build if the system error stream of the forked gosuc or gosudoc JavaExec task is non-empty.

In retrospect, this was not a good design decision. But then again, I never realized that this variable is printed to sys err, not sys out!

DPUkyle commented 8 years ago

This is fixed by e36217c6981b8b71bb08ce5ad911018140b6fd0f and 60c8c188f2c470e09cb198ffbaa641a6fece667f