continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tryg...@apache.org
Subject svn commit: r164115 - /maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ProjectBuild.vm
Date Thu, 21 Apr 2005 20:30:47 GMT
Author: trygvis
Date: Thu Apr 21 13:30:46 2005
New Revision: 164115

URL: http://svn.apache.org/viewcvs?rev=164115&view=rev
Log:
o Handling empty stdout and stderr.

Modified:
    maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ProjectBuild.vm

Modified: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ProjectBuild.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ProjectBuild.vm?rev=164115&r1=164114&r2=164115&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ProjectBuild.vm
(original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ProjectBuild.vm
Thu Apr 21 13:30:46 2005
@@ -23,14 +23,24 @@
       #end
     </table>
   </p>
+#if ( $buildResult.standardOutput )
+#set( $stdout = $buildResult.standardOutput )
+#else
+#set( $stdout = "No output on standard output" )
+#end
 
+#if ( $buildResult.standardError )
+#set( $stderr = $buildResult.standardError )
+#else
+#set( $stderr = "No output on standard error" )
+#end
   <h4>Standard Output</h4>
   <p>
-    <div style="width:100%; height:500px; overflow:auto; border-style: solid; border-width:
1px"><code><pre>$buildResult.standardOutput</pre></code></div>
+    <div style="width:100%; height:500px; overflow:auto; border-style: solid; border-width:
1px"><code><pre>$stdout</pre></code></div>
   </p>
 
   <h4>Standard Error</h4>
   <p>
-    <div style="width:100%; height:200px; overflow:auto; border-style: solid; border-width:
1px"><code><pre>$buildResult.standardError</pre></code></div>
+    <div style="width:100%; height:200px; overflow:auto; border-style: solid; border-width:
1px"><code><pre>$stderr</pre></code></div>
   </p>
 </div>



Mime
View raw message