From 86b6555efe2dacaf77fe4dd3ffe2d964fbc92967 Mon Sep 17 00:00:00 2001 From: j2blake Date: Mon, 22 Apr 2013 11:30:51 -0400 Subject: [PATCH 1/2] Test if the build script is using an old version of Ant or Java If not, print out some diagnostic information. --- webapp/build.xml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/webapp/build.xml b/webapp/build.xml index 2ba31da34..fdf4a7a70 100644 --- a/webapp/build.xml +++ b/webapp/build.xml @@ -9,6 +9,36 @@ ====================================================================== --> + + + + + + + + + + + + + The Vitro build script requires Java 7 or later. + Java system property java.version = ${java.version} + Java system property java.home = ${java.home} + JAVA_HOME environment variable = ${env.JAVA_HOME} + + + + + + + + + + The Vitro build script requires Ant 1.8 or later. + Ant property ant.version = ${ant.version} + Ant property ant.home = ${ant.home} + ANT_HOME environment variable = ${env.ANT_HOME} + From df1839cea53b02be3016257b2e4d03052c85605b Mon Sep 17 00:00:00 2001 From: j2blake Date: Mon, 22 Apr 2013 15:00:25 -0400 Subject: [PATCH 2/2] Fix the comment --- .../vitro/webapp/filters/SessionTimeoutLimitingFilter.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/filters/SessionTimeoutLimitingFilter.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/filters/SessionTimeoutLimitingFilter.java index 275066c6c..3ce778c1b 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/filters/SessionTimeoutLimitingFilter.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/filters/SessionTimeoutLimitingFilter.java @@ -43,8 +43,7 @@ public class SessionTimeoutLimitingFilter implements Filter { /** * If this request has a trivial session object -- that is, the user is not - * logged in and not self-editing -- then give it a short expiration - * interval. + * logged in -- then give it a short expiration interval. */ private void limitTrivialSession(ServletRequest servletRequest) { if (!(servletRequest instanceof HttpServletRequest)) {