servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lh...@apache.org
Subject svn commit: r703400 - /servicemix/scripts/builds/webapps/builds/status.jsp
Date Fri, 10 Oct 2008 11:06:33 GMT
Author: lhein
Date: Fri Oct 10 04:06:32 2008
New Revision: 703400

URL: http://svn.apache.org/viewvc?rev=703400&view=rev
Log:
test

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=703400&r1=703399&r2=703400&view=diff
==============================================================================
--- servicemix/scripts/builds/webapps/builds/status.jsp (original)
+++ servicemix/scripts/builds/webapps/builds/status.jsp Fri Oct 10 04:06:32 2008
@@ -26,7 +26,7 @@
       padding-right: 8px;
     }
     .unavailable {
-      background-color: darkgray;
+      background-color: black;
       color: white;
       padding-left: 8px;
       padding-right: 8px;
@@ -88,8 +88,8 @@
         prjMap.put("ServiceMix Maven Plugins POM", "smx-mvn-plugins-pom-deploy.log");
         prjMap.put("ServiceMix Utils", "smx-utils-trunk-deploy.log");
         // add more projects here
-        prjMap.put("ServiceMix 3.2 deploy 1", "servicemix-3.2-deploy.log");
-        prjMap.put("ServiceMix 3.2 deploy 2", "servicemix-3.2-deploy-2.log");
+        //prjMap.put("ServiceMix 3.2 deploy 1", "servicemix-3.2-deploy.log");
+        //prjMap.put("ServiceMix 3.2 deploy 2", "servicemix-3.2-deploy-2.log");
         
         // register to session
         session.setAttribute(key_projectMap, prjMap);
@@ -139,7 +139,9 @@
           tsMap != null && 
           tsMap.containsKey(uri) && 
           f.lastModified() == ((Long)tsMap.get(uri)).longValue()) {
-          return (String)lastResultMap.get(uri);
+          String lastRes = (String)lastResultMap.get(uri);
+          String updatedRes = lastRes.substring(0, lastRes.indexOf("</a>")) + durationText
+ "</a></td>";
+          return updatedRes;
       }          
       
       reader = new BufferedReader(new FileReader(file));



Mime
View raw message