gradle-jasperreports icon indicating copy to clipboard operation
gradle-jasperreports copied to clipboard

Prevent report compilation from creating icon for Gradle daemon on MacOS dock

Open longwa opened this issue 6 years ago • 0 comments

When the report compilation runs, it exposes a Java icon on the MacOS dock. When using the gradle daemon, the icon will stay as long as the gradle daemon is alive.

The compilation needs to set the -Dapple.awt.UIElement=true on whatever process is being forked to do the compilation.

Setting the global export JAVA_TOOL_OPTIONS="-Dapple.awt.UIElement=true" does fix the problem, but is probably not the best solution since some apps may want to be on the dock.

longwa avatar Aug 21 '18 19:08 longwa