New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

processing-java: Run in headless mode with --build #3998

merged 1 commit into from Oct 14, 2015


None yet
2 participants

myrjola commented Oct 14, 2015

Fixes #3996

Tested both running with and without --build. The fix works as expected. Running processing-java with the --build-option doesn't steal focus anymore.

This change makes the /usr/local/bin/processing-java shell script look like this for me:


# We don't want to steal focus for headless runs. See issue #3996.
for ARG in "$@"
    if [ $ARG = "--build" ]; then

cd "/Users/martin/git/processing/build/macosx/work/" && /Users/martin/git/processing/build/macosx/work/ -Djna.nosys=true $OPTION_FOR_HEADLESS_RUN -cp "ant-launcher.jar:ant.jar:core.jar:jna.jar:pde.jar:core/library/core.jar:core/library/gluegen-rt-natives-linux-amd64.jar:core/library/gluegen-rt-natives-linux-armv6hf.jar:core/library/gluegen-rt-natives-linux-i586.jar:core/library/gluegen-rt-natives-macosx-universal.jar:core/library/gluegen-rt-natives-windows-amd64.jar:core/library/gluegen-rt-natives-windows-i586.jar:core/library/gluegen-rt.jar:core/library/jogl-all-natives-linux-amd64.jar:core/library/jogl-all-natives-linux-armv6hf.jar:core/library/jogl-all-natives-linux-i586.jar:core/library/jogl-all-natives-macosx-universal.jar:core/library/jogl-all-natives-windows-amd64.jar:core/library/jogl-all-natives-windows-i586.jar:core/library/jogl-all.jar:modes/java/mode/antlr.jar:modes/java/mode/classpath-explorer-1.0.jar:modes/java/mode/" "$@"

benfry added a commit that referenced this pull request Oct 14, 2015

Merge pull request #3998 from myrjola/headlesswhenbuild
processing-java: Run in headless mode with --build

@benfry benfry merged commit 5499625 into processing:master Oct 14, 2015

@processing processing deleted a comment from ellenlowing Jul 19, 2018


This comment has been minimized.

Show comment
Hide comment

benfry Jul 19, 2018


(Removed non-relevant comment, locking post)


benfry commented Jul 19, 2018

(Removed non-relevant comment, locking post)

@processing processing locked as off topic and limited conversation to collaborators Jul 19, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.