diff options
author | Glenn Adams <gadams@apache.org> | 2012-04-13 06:28:25 +0000 |
---|---|---|
committer | Glenn Adams <gadams@apache.org> | 2012-04-13 06:28:25 +0000 |
commit | 67b05aa1dde10b581428a70ed951396bd4a37c6e (patch) | |
tree | e20160d9e125ec09722f4750f77ae30c92e0b0f5 /fop | |
parent | 586396e38c1c22d12d44e76cfdb36606f67a914f (diff) | |
download | xmlgraphics-fop-67b05aa1dde10b581428a70ed951396bd4a37c6e.tar.gz xmlgraphics-fop-67b05aa1dde10b581428a70ed951396bd4a37c6e.zip |
Bugzilla #50062: Invoke JVM in headless mode from FOP command scripts and JS shell to prevent stealing focus from GUI applications.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1325624 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'fop')
-rwxr-xr-x | fop | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -18,6 +18,7 @@ # Shell script to run FOP, adapted from the Jakarta-Ant project. rpm_mode=true +java_exec_args="-Djava.awt.headless=true" fop_exec_args= no_config=false fop_exec_debug=false @@ -247,7 +248,7 @@ fi # Execute FOP using eval/exec to preserve spaces in paths, # java options, and FOP args -fop_exec_command="exec \"$JAVACMD\" $LOGCHOICE $LOGLEVEL -classpath \"$LOCALCLASSPATH\" $FOP_OPTS org.apache.fop.cli.Main $fop_exec_args" +fop_exec_command="exec \"$JAVACMD\" $java_exec_args $LOGCHOICE $LOGLEVEL -classpath \"$LOCALCLASSPATH\" $FOP_OPTS org.apache.fop.cli.Main $fop_exec_args" if $fop_exec_debug ; then echo $fop_exec_command fi |