diff --git a/apps/jetty/build.xml b/apps/jetty/build.xml index 7d07e848d8..04f988b90d 100644 --- a/apps/jetty/build.xml +++ b/apps/jetty/build.xml @@ -107,10 +107,12 @@ - - + + + @@ -121,26 +123,33 @@ jasper.jar : jasper-runtime.jar jasper-el.jar + el-api.jar : commons-el.jar servlet-api.jar + jsp-api.jar : javax.servlet.jar - tomcat-juli.jar : commons-logging.jar + tomcat-juli.jar : Add to commons-logging.jar empty jar : jasper-compiler.jar Also, take NOTICE and LICENSE out of each one, we bundle those separately. --> - + - + - + - + + - + + + + + diff --git a/apps/jetty/java/src/net/i2p/jetty/I2PLogger.java b/apps/jetty/java/src/net/i2p/jetty/I2PLogger.java index 152d254dd8..6329464c34 100644 --- a/apps/jetty/java/src/net/i2p/jetty/I2PLogger.java +++ b/apps/jetty/java/src/net/i2p/jetty/I2PLogger.java @@ -102,7 +102,7 @@ public class I2PLogger implements Logger if (arg0 == null && arg1 == null) { _log.warn(msg); } else if (arg0 != null && arg1 == null && arg0 instanceof Throwable) { - _log.warn(msg, (Throwable) arg0); + _log.error(msg, (Throwable) arg0); } else if (_log.shouldLog(Log.WARN)) { synchronized(_buffer) { format(msg,arg0,arg1); diff --git a/history.txt b/history.txt index ff9cb01f35..178e6c5c86 100644 --- a/history.txt +++ b/history.txt @@ -1,3 +1,9 @@ +2012-03-11 zzz + * Build: + - Include old commons logging classes in commons-logging.jar + - Preserve manifests in Jetty/Tomcat jars + * Jetty Logger: Promote warns to erros when a Throwable is the second arg + 2012-03-11 sponge * fix broken comment in jetty.xml diff --git a/router/java/src/net/i2p/router/RouterVersion.java b/router/java/src/net/i2p/router/RouterVersion.java index 7ca1a3ec2c..5a58b19bc2 100644 --- a/router/java/src/net/i2p/router/RouterVersion.java +++ b/router/java/src/net/i2p/router/RouterVersion.java @@ -18,7 +18,7 @@ public class RouterVersion { /** deprecated */ public final static String ID = "Monotone"; public final static String VERSION = CoreVersion.VERSION; - public final static long BUILD = 10; + public final static long BUILD = 11; /** for example "-test" */ public final static String EXTRA = "";