svn commit: r642196 - /activemq/camel/trunk/tooling/maven/maven-html-to-pdf/src/main/java/org/apache/camel/maven/HtmlToPdfMojo.java

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r642196 - /activemq/camel/trunk/tooling/maven/maven-html-to-pdf/src/main/java/org/apache/camel/maven/HtmlToPdfMojo.java

jstrachan-2
Author: jstrachan
Date: Fri Mar 28 04:02:23 2008
New Revision: 642196

URL: http://svn.apache.org/viewvc?rev=642196&view=rev
Log:
tidied up the debugging code

Modified:
    activemq/camel/trunk/tooling/maven/maven-html-to-pdf/src/main/java/org/apache/camel/maven/HtmlToPdfMojo.java

Modified: activemq/camel/trunk/tooling/maven/maven-html-to-pdf/src/main/java/org/apache/camel/maven/HtmlToPdfMojo.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/tooling/maven/maven-html-to-pdf/src/main/java/org/apache/camel/maven/HtmlToPdfMojo.java?rev=642196&r1=642195&r2=642196&view=diff
==============================================================================
--- activemq/camel/trunk/tooling/maven/maven-html-to-pdf/src/main/java/org/apache/camel/maven/HtmlToPdfMojo.java (original)
+++ activemq/camel/trunk/tooling/maven/maven-html-to-pdf/src/main/java/org/apache/camel/maven/HtmlToPdfMojo.java Fri Mar 28 04:02:23 2008
@@ -207,9 +207,12 @@
 
         getLog().info("About to execute PrinceXml (see www.princexml.com)");
         String[] lines = cl.getCommandline();
+        StringBuffer buffer = new StringBuffer();
         for (String line : lines) {
-            getLog().info(line);
+            buffer.append(" ");
+            buffer.append(line);
         }
+        getLog().info(buffer);
 
         int rc = CommandLineUtils.executeCommandLine(cl, out, out);
         if (rc == 0) {