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.bat | |
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.bat')
-rw-r--r-- | fop.bat | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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
|