DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14659>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14659

spurious (nuisance) errors on print/awt renderers





------- Additional Comments From [EMAIL PROTECTED]  2002-11-18 23:25 
-------
I've worked out a corrections for both of these minor annoyances.
I'm not sure these are the 
~right~ solutions, but they work.

btw:  There seems to be a problem (line endings?) 
with
fop.app.PrintStarter.java - If I make a single character change
in the file, diff 
reports that the whole thing changed   ;-(

The actual diff is appended below for AWTStarter, 

a ~description~ of the change to PrintStarter follow below that....

Index: xml-
fop/src/org/apache/fop/apps/AWTStarter.java
===================================================================
RCS 
file: /home/cvspublic/xml-fop/src/org/apache/fop/apps/AWTStarter.java,v
retrieving 
revision 1.9.2.4
diff -u -r1.9.2.4 AWTStarter.java
--- xml-
fop/src/org/apache/fop/apps/AWTStarter.java     4 Jul 2002 12:00:25 -0000       1.9.2.4
+++ xml-
fop/src/org/apache/fop/apps/AWTStarter.java     18 Nov 2002 23:13:30 -0000
@@ -93,7 +93,7 
@@
         renderer.setProgressListener(frame);
         renderer.setComponent(frame);
         driver = 
new Driver();
-        driver.setLogger(log);
+        driver.setLogger(new 
ConsoleLogger(ConsoleLogger.LEVEL_INFO));
         if (errorDump) {
             
driver.setErrorDump(true);
         }

description of change to PrintStarter.java

The 
run() method should look like this:

    public void run() throws FOPException {
        Driver 
driver = new Driver();
        if (errorDump) {
            driver.setErrorDump(true);
        }

        // String 
version = Version.getVersion();   // removed
        // MessageHandler.errorln(version);         // 
removed

        driver.setLogger (new ConsoleLogger(ConsoleLogger.LEVEL_INFO)) ;
        
log.info (Version.getVersion()) ;

        etc. etc.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to