fop.patch 877 Bytes
Newer Older
1
2
3
diff -ur ../fop-0.95/src/java/org/apache/fop/cli/Main.java fop-0.95/src/java/org/apache/fop/cli/Main.java
--- ../fop-0.95/src/java/org/apache/fop/cli/Main.java	2008-08-01 00:02:56.000000000 +1000
+++ fop-0.95/src/java/org/apache/fop/cli/Main.java	2009-06-16 23:02:09.000000000 +1000
4
5
6
7
8
9
@@ -174,9 +174,9 @@
             // System.exit(0) called to close AWT/SVG-created threads, if any.
             // AWTRenderer closes with window shutdown, so exit() should not
             // be called here
-            if (!MimeConstants.MIME_FOP_AWT_PREVIEW.equals(outputFormat)) {
-                System.exit(0);
10
-            }
11
+            //if (!MimeConstants.MIME_FOP_AWT_PREVIEW.equals(outputFormat)) {
12
+            //    System.exit(0);
13
+            //}
14
15
16
         } catch (Exception e) {
             if (options != null) {
                 options.getLogger().error("Exception", e);