https://issues.apache.org/bugzilla/show_bug.cgi?id=50062

--- Comment #3 from Jeremy Huddleston <jerem...@freedesktop.org> 2010-11-24 
23:29:44 EST ---
Actually, that won't work... this will:

--- fop.orig    2010-11-24 23:25:55.000000000 -0500
+++ fop    2010-11-24 23:26:29.000000000 -0500
@@ -19,6 +19,7 @@

 rpm_mode=true
 fop_exec_args=
+java_exec_args="-Djava.awt.headless=true"
 no_config=false
 fop_exec_debug=false
 show_help=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

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to