From 0217493175adfd43dd0e7828c1b336ba5e8c01e1 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Mon, 22 Oct 2012 16:44:11 +0200 Subject: o Getting the Jetty dependencies correct for JSPX support. --- pom.xml | 40 ++++++++++++++++++++-- .../java/io/trygvis/appsh/booter/jetty8/Main.java | 2 +- 2 files changed, 39 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 78987d6..98d4b59 100644 --- a/pom.xml +++ b/pom.xml @@ -20,15 +20,51 @@ jetty-webapp ${versions.jetty8} + + org.eclipse.jetty.orbit - org.apache.jasper.glassfish - 2.2.2.v201112011158 + com.sun.el + 2.2.0.v201108011116 org.eclipse.jetty.orbit javax.el 2.2.0.v201108011116 + + org.eclipse.jetty.orbit + javax.servlet.jsp + 2.2.0.v201112011158 + + + org.eclipse.jetty.orbit + javax.servlet.jsp.jstl + 1.2.0.v201105211821 + + + org.eclipse.jetty.orbit + org.apache.jasper.glassfish + 2.2.2.v201112011158 + + + org.eclipse.jetty.orbit + org.apache.taglibs.standard.glassfish + 1.2.0.v201112081803 + + + org.eclipse.jetty.orbit + org.eclipse.jdt.core + 3.7.1 + diff --git a/src/main/java/io/trygvis/appsh/booter/jetty8/Main.java b/src/main/java/io/trygvis/appsh/booter/jetty8/Main.java index b69ff1d..15279dc 100644 --- a/src/main/java/io/trygvis/appsh/booter/jetty8/Main.java +++ b/src/main/java/io/trygvis/appsh/booter/jetty8/Main.java @@ -51,7 +51,7 @@ public class Main { } } - String httpPort = properties.getProperty("http.port"); + String httpPort = properties.getProperty("httpPort", System.getenv("httpPort")); if (httpPort != null) { server.setHttpPort(parseInt(httpPort)); } -- cgit v1.2.3