servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lh...@apache.org
Subject svn commit: r703391 - /servicemix/scripts/builds/webapps/builds/status.jsp
Date Fri, 10 Oct 2008 10:47:15 GMT
Author: lhein
Date: Fri Oct 10 03:47:15 2008
New Revision: 703391

URL: http://svn.apache.org/viewvc?rev=703391&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=703391&r1=703390&r2=703391&view=diff
==============================================================================
--- servicemix/scripts/builds/webapps/builds/status.jsp (original)
+++ servicemix/scripts/builds/webapps/builds/status.jsp Fri Oct 10 03:47:15 2008
@@ -1,4 +1,4 @@
-<%@ page import="java.io.BufferedReader, java.io.File, java.io.FileReader, java.io.IOException,
java.util.TreeMap, java.util.Date, java.util.Iterator"%>
+<%@ page import="javax.servlet.http.HttpSession, java.io.BufferedReader, java.io.File,
java.io.FileReader, java.io.IOException, java.util.TreeMap, java.util.Date, java.util.Iterator"%>
 <html>
 <head>
   <title>Apache Build Status at: <%= new Date() %></title>
@@ -56,12 +56,14 @@
 <h1>Apache Build Status</h1>
 <hr /><br />
 
-<%
+<%!
   String dir = "/mnt/builds/logs/";
   String failedTestsCheck = "[ERROR] There are test failures.";
   String key_projectMap = "projects";
   String key_timestamps = "timestamps";
   String key_lastresults= "lastResults";
+
+  HttpSession session = null;
   
   TreeMap prjMap = null;
   TreeMap tsMap = null;
@@ -234,6 +236,8 @@
 
 <table width='80%' cellpadding='0' cellspacing='0'>
 <%
+  session = request.getSession();
+
   // ensure the map is filled
   setupMaps();
   



Mime
View raw message