Add ability to output HTML report of differences found between two versions.
[cfb.git] / prod / net / jaekl / cfb / analyze / Analyzer.java
index 22d65edfcf5d83d1880e011a36fc1f5eb18806eb..a7903ee3d3ef48c1f7173037b6ecd08e9fb8900c 100644 (file)
@@ -10,13 +10,13 @@ import java.util.Date;
 import java.util.Locale;
 import java.util.Locale.Category;
 
-import org.xml.sax.InputSource;
-import org.xml.sax.SAXException;
-
 import net.jaekl.cfb.CfbBundle;
 import net.jaekl.cfb.util.Command;
 import net.jaekl.qd.xml.XmlParseException;
 
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
+
 public class Analyzer {
        MessageMap m_msgMap;
        
@@ -34,6 +34,8 @@ public class Analyzer {
                pw.println(cmdLine);
                pw.flush();
                Command.Result fbResult = new Command().exec(cmdLine);
+               pw.println("==> " + fbResult.getRetCode());
+               pw.flush();
                if (0 != fbResult.getRetCode()) {
                        // Our attempt to execute FindBugs failed.
                        // Report the error and return null.
@@ -49,7 +51,7 @@ public class Analyzer {
                
                result.setEnd(new Date());
                result.parse(new InputSource(fbOutput.getAbsolutePath()));
-               result.dump(pw);                        
+               // result.dump(pw);                     
                return result;
        }