You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by je...@apache.org on 2005/12/09 08:44:18 UTC
svn commit: r355401 - in /xmlgraphics/fop/trunk:
src/java/org/apache/fop/cli/Main.java status.xml
Author: jeremias
Date: Thu Dec 8 23:44:09 2005
New Revision: 355401
URL: http://svn.apache.org/viewcvs?rev=355401&view=rev
Log:
The output file is now deleted when an exception occurs when calling FOP from the command-line.
Modified:
xmlgraphics/fop/trunk/src/java/org/apache/fop/cli/Main.java
xmlgraphics/fop/trunk/status.xml
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/cli/Main.java
URL: http://svn.apache.org/viewcvs/xmlgraphics/fop/trunk/src/java/org/apache/fop/cli/Main.java?rev=355401&r1=355400&r2=355401&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/cli/Main.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/cli/Main.java Thu Dec 8 23:44:09 2005
@@ -184,6 +184,9 @@
if (options != null) {
options.getLogger().error("Exception", e);
}
+ if (options.getOutputFile() != null) {
+ options.getOutputFile().delete();
+ }
System.exit(1);
}
}
Modified: xmlgraphics/fop/trunk/status.xml
URL: http://svn.apache.org/viewcvs/xmlgraphics/fop/trunk/status.xml?rev=355401&r1=355400&r2=355401&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/status.xml (original)
+++ xmlgraphics/fop/trunk/status.xml Thu Dec 8 23:44:09 2005
@@ -28,6 +28,10 @@
<changes>
<release version="FOP Trunk">
<action context="Code" dev="JM" type="fix">
+ The output file is now deleted when an exception occurs when calling FOP from
+ the command-line.
+ </action>
+ <action context="Code" dev="JM" type="fix">
Bugfix: Areas for table-cells that are broken over more than one page are now
generated even if all its content is already painted on a previous page. This
fixes strange effects like a table grid that is not completely painted.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org