diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2012-10-22 16:44:11 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2012-10-22 16:46:16 +0200 |
commit | 0217493175adfd43dd0e7828c1b336ba5e8c01e1 (patch) | |
tree | 1212a232a40ddd7533c4a2b5f168d5767ac19b9d | |
parent | 95f506ef0d7c2d33fff1df28e6613583e5cbf0b3 (diff) | |
download | app.sh-booter-jetty-0217493175adfd43dd0e7828c1b336ba5e8c01e1.tar.gz app.sh-booter-jetty-0217493175adfd43dd0e7828c1b336ba5e8c01e1.tar.bz2 app.sh-booter-jetty-0217493175adfd43dd0e7828c1b336ba5e8c01e1.tar.xz app.sh-booter-jetty-0217493175adfd43dd0e7828c1b336ba5e8c01e1.zip |
o Getting the Jetty dependencies correct for JSPX support.
-rw-r--r-- | pom.xml | 40 | ||||
-rw-r--r-- | src/main/java/io/trygvis/appsh/booter/jetty8/Main.java | 2 |
2 files changed, 39 insertions, 3 deletions
@@ -20,15 +20,51 @@ <artifactId>jetty-webapp</artifactId> <version>${versions.jetty8}</version> </dependency> + + <!-- + $ (cd jetty-distribution-8.1.7.v20120910; find * -name \*.jar|sort|grep jsp) + lib/jsp/com.sun.el-2.2.0.v201108011116.jar + lib/jsp/javax.el-2.2.0.v201108011116.jar + lib/jsp/javax.servlet.jsp-2.2.0.v201112011158.jar + lib/jsp/javax.servlet.jsp.jstl-1.2.0.v201105211821.jar + lib/jsp/org.apache.jasper.glassfish-2.2.2.v201112011158.jar + lib/jsp/org.apache.taglibs.standard.glassfish-1.2.0.v201112081803.jar + lib/jsp/org.eclipse.jdt.core-3.7.1.jar + --> <dependency> <groupId>org.eclipse.jetty.orbit</groupId> - <artifactId>org.apache.jasper.glassfish</artifactId> - <version>2.2.2.v201112011158</version> + <artifactId>com.sun.el</artifactId> + <version>2.2.0.v201108011116</version> </dependency> <dependency> <groupId>org.eclipse.jetty.orbit</groupId> <artifactId>javax.el</artifactId> <version>2.2.0.v201108011116</version> </dependency> + <dependency> + <groupId>org.eclipse.jetty.orbit</groupId> + <artifactId>javax.servlet.jsp</artifactId> + <version>2.2.0.v201112011158</version> + </dependency> + <dependency> + <groupId>org.eclipse.jetty.orbit</groupId> + <artifactId>javax.servlet.jsp.jstl</artifactId> + <version>1.2.0.v201105211821</version> + </dependency> + <dependency> + <groupId>org.eclipse.jetty.orbit</groupId> + <artifactId>org.apache.jasper.glassfish</artifactId> + <version>2.2.2.v201112011158</version> + </dependency> + <dependency> + <groupId>org.eclipse.jetty.orbit</groupId> + <artifactId>org.apache.taglibs.standard.glassfish</artifactId> + <version>1.2.0.v201112081803</version> + </dependency> + <dependency> + <groupId>org.eclipse.jetty.orbit</groupId> + <artifactId>org.eclipse.jdt.core</artifactId> + <version>3.7.1</version> + </dependency> </dependencies> </project> 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)); } |