aboutsummaryrefslogtreecommitdiffstats
path: root/fop
diff options
context:
space:
mode:
authorPeter Hancock <phancock@apache.org>2012-05-28 15:30:46 +0000
committerPeter Hancock <phancock@apache.org>2012-05-28 15:30:46 +0000
commit05b2c8d4ea0e085184274bde2fbcacd1618eee1e (patch)
tree27f9f2afe4b8efcbd53066daa89a61aed6e5fa52 /fop
parent125dc15007143f64cd7f7f7035e7375029e7c185 (diff)
parentd48e0e1f467c58a22c4d1b19591d4fa9d22aa8c6 (diff)
downloadxmlgraphics-fop-05b2c8d4ea0e085184274bde2fbcacd1618eee1e.tar.gz
xmlgraphics-fop-05b2c8d4ea0e085184274bde2fbcacd1618eee1e.zip
Merged trunk@1343133
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_URI_Unification@1343285 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'fop')
-rwxr-xr-xfop3
1 files changed, 2 insertions, 1 deletions
diff --git a/fop b/fop
index 3f2ac6f7d..aca642be7 100755
--- a/fop
+++ b/fop
@@ -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