aboutsummaryrefslogtreecommitdiffstats
path: root/fop.bat
diff options
context:
space:
mode:
authorGlenn Adams <gadams@apache.org>2012-04-13 06:28:25 +0000
committerGlenn Adams <gadams@apache.org>2012-04-13 06:28:25 +0000
commit67b05aa1dde10b581428a70ed951396bd4a37c6e (patch)
treee20160d9e125ec09722f4750f77ae30c92e0b0f5 /fop.bat
parent586396e38c1c22d12d44e76cfdb36606f67a914f (diff)
downloadxmlgraphics-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.bat')
-rw-r--r--fop.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/fop.bat b/fop.bat
index 3a0538d5e..54e93cca4 100644
--- a/fop.bat
+++ b/fop.bat
@@ -58,7 +58,7 @@ set LIBDIR=%LOCAL_FOP_HOME%lib
set LOCALCLASSPATH=%FOP_HYPHENATION_PATH%
for %%l in (%LOCAL_FOP_HOME%build\*.jar %LIBDIR%\*.jar) do set LOCALCLASSPATH=!LOCALCLASSPATH!;%%l
-set JAVAOPTS=-Denv.windir=%WINDIR%
+set JAVAOPTS=-Denv.windir=%WINDIR% -Djava.awt.headless=true
if "%JAVA_HOME%" == "" goto noJavaHome
if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome