You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by lh...@apache.org on 2008/10/02 13:09:01 UTC

svn commit: r701078 - /servicemix/scripts/builds/webapps/builds/status.jsp

Author: lhein
Date: Thu Oct  2 04:09:00 2008
New Revision: 701078

URL: http://svn.apache.org/viewvc?rev=701078&view=rev
Log:
done some formatting

Modified:
    servicemix/scripts/builds/webapps/builds/status.jsp

Modified: servicemix/scripts/builds/webapps/builds/status.jsp
URL: http://svn.apache.org/viewvc/servicemix/scripts/builds/webapps/builds/status.jsp?rev=701078&r1=701077&r2=701078&view=diff
==============================================================================
--- servicemix/scripts/builds/webapps/builds/status.jsp (original)
+++ servicemix/scripts/builds/webapps/builds/status.jsp Thu Oct  2 04:09:00 2008
@@ -57,7 +57,7 @@
     try {
       System.out.println("Processing: " + file);
       if (f.lastModified() + 80000 >= System.currentTimeMillis()) {
-      	  return "<a href='logs/" + uri + "' class='building'>BUILDING</a>";
+      	  return "<td class='building' width='60%'><a href='logs/" + uri + "' class='building'>BUILDING</a></td>";
       }
       reader = new BufferedReader(new FileReader(file));
       while (true) {
@@ -69,15 +69,15 @@
             failedTests = true;
           } else if (line.contains("BUILD SUCCESSFUL")) {
             if (failedTests) {
-              return "<a href='logs/" + uri + "' class='success_with_failed_tests'>SUCCESS (with failures) " + durationText + "</a>";
+              return "<td class='success_with_failed_tests' width='60%'><a href='logs/" + uri + "' class='success_with_failed_tests'>SUCCESS (with failures) " + durationText + "</a></td>";
             } else {
-              return "<a href='logs/" + uri + "' class='success'>SUCCESS " + durationText + "</a>";
+              return "<td class='success' width='60%'><a href='logs/" + uri + "' class='success'>SUCCESS " + durationText + "</a></td>";
             }
           }
         }
       }
     } catch (IOException e) {
-      return "<a href='logs/" + uri + "' class='error'>" + e + " " + durationText + "</a>";
+      return "<td class='error' width='60%'><a href='logs/" + uri + "' class='error'>" + e + " " + durationText + "</a></td>";
     }
     finally {
       if (reader != null) {
@@ -88,7 +88,7 @@
         }
       }
     }
-    return "<a href='logs/" + uri + "' class='failure'>FAILURE " + durationText + "</a>";
+    return "<td class='failure' width='60%'><a href='logs/" + uri + "' class='failure'>FAILURE " + durationText + "</a></td>";
   }
   
   String convertToDuration(long millis) {
@@ -134,64 +134,64 @@
 
 <table width='80%' cellpadding='0' cellspacing='0'>
   <tr>
-    <td width='60%'>ActiveMQ trunk deploy</td>
-    <td width='40%'><%= processBuildFile("activemq-deploy.log")%></td>
+    <td width='40%'>ActiveMQ trunk deploy</td>
+    <%= processBuildFile("activemq-deploy.log")%>
   </tr>
   <tr>
-    <td width='60%'>Camel trunk deploy</td>
-    <td width='40%'><%= processBuildFile("camel-deploy.log")%></td>
+    <td width='40%'>Camel trunk deploy</td>
+    <%= processBuildFile("camel-deploy.log")%>
   </tr>
   <tr>
-    <td width='60%'>ServiceMix 3.2 deploy 1</td>
-    <td width='40%'><%= processBuildFile("servicemix-3.2-deploy.log")%></td>
+    <td width='40%'>ServiceMix 3.2 deploy 1</td>
+    <%= processBuildFile("servicemix-3.2-deploy.log")%>
   </tr>
   <tr>
-    <td width='60%'>ServiceMix 3.2 deploy 2</td>
-    <td width='40%'><%= processBuildFile("servicemix-3.2-deploy-2.log")%></td>
+    <td width='40%'>ServiceMix 3.2 deploy 2</td>
+    <%= processBuildFile("servicemix-3.2-deploy-2.log")%>
   </tr>
   <tr>
-    <td width='60%'>ServiceMix 3.3 deploy</td>
-    <td width='40%'><%= processBuildFile("smx-3.3-trunk-deploy.log")%></td>
+    <td width='40%'>ServiceMix 3.3 deploy</td>
+    <%= processBuildFile("smx-3.3-trunk-deploy.log")%>
   </tr>
   <tr>
-    <td width='60%'>ServiceMix 4 legal deploy</td>
-    <td width='40%'><%= processBuildFile("smx4-legal-deploy.log")%></td>
+    <td width='40%'>ServiceMix 4 legal deploy</td>
+    <%= processBuildFile("smx4-legal-deploy.log")%>
   </tr>
   <tr>
-    <td width='60%'>ServiceMix 4 bundles deploy</td>
-    <td width='40%'><%= processBuildFile("smx4-bundles-deploy.log")%></td>
+    <td width='40%'>ServiceMix 4 bundles deploy</td>
+    <%= processBuildFile("smx4-bundles-deploy.log")%>
   </tr>
   <tr>
-    <td width='60%'>ServiceMix 4 kernel deploy</td>
-    <td width='40%'><%= processBuildFile("smx4-kernel-deploy.log")%></td>
+    <td width='40%'>ServiceMix 4 kernel deploy</td>
+    <%= processBuildFile("smx4-kernel-deploy.log")%>
   </tr>
   <tr>
-    <td width='60%'>ServiceMix 4 specs deploy</td>
-    <td width='40%'><%= processBuildFile("smx4-specs-deploy.log")%></td>
+    <td width='40%'>ServiceMix 4 specs deploy</td>
+    <%= processBuildFile("smx4-specs-deploy.log")%>
   </tr>
   <tr>
-    <td width='60%'>ServiceMix 4 nmr deploy</td>
-    <td width='40%'><%= processBuildFile("smx4-nmr-deploy.log")%></td>
+    <td width='40%'>ServiceMix 4 nmr deploy</td>
+    <%= processBuildFile("smx4-nmr-deploy.log")%>
   </tr>
   <tr>
-    <td width='60%'>ServiceMix 4 features deploy</td>
-    <td width='40%'><%= processBuildFile("smx4-features-deploy.log")%></td>
+    <td width='40%'>ServiceMix 4 features deploy</td>
+    <%= processBuildFile("smx4-features-deploy.log")%>
   </tr>
   <tr>
-    <td width='60%'>ServiceMix Components POM</td>
-    <td width='40%'><%= processBuildFile("smx-components-pom-deploy.log")%></td>
+    <td width='40%'>ServiceMix Components POM</td>
+    <%= processBuildFile("smx-components-pom-deploy.log")%>
   </tr>
   <tr>
-    <td width='60%'>ServiceMix Archetypes</td>
-    <td width='40%'><%= processBuildFile("smx-archetypes-deploy.log")%></td>
+    <td width='40%'>ServiceMix Archetypes</td>
+    <%= processBuildFile("smx-archetypes-deploy.log")%>
   </tr>
   <tr>
-    <td width='60%'>ServiceMix Maven Plugins POM</td>
-    <td width='40%'><%= processBuildFile("smx-mvn-plugins-pom-deploy.log")%></td>
+    <td width='40%'>ServiceMix Maven Plugins POM</td>
+    <%= processBuildFile("smx-mvn-plugins-pom-deploy.log")%>
   </tr>
   <tr>
-    <td width='60%'>ServiceMix Utils</td>
-    <td width='40%'><%= processBuildFile("smx-utils-trunk-deploy.log")%></td>
+    <td width='40%'>ServiceMix Utils</td>
+    <%= processBuildFile("smx-utils-trunk-deploy.log")%>
   </tr>
 </table>
 </body>