diff --git a/jetty-ajp/pom.xml b/jetty-ajp/pom.xml index a7815358279..e538ab5c98d 100644 --- a/jetty-ajp/pom.xml +++ b/jetty-ajp/pom.xml @@ -2,7 +2,7 @@ org.eclipse.jetty jetty-project - 7.0.0.M2 + 7.0.0.M2-SNAPSHOT 4.0.0 jetty-ajp diff --git a/jetty-annotations/pom.xml b/jetty-annotations/pom.xml index 4166305d26d..89cfc297e08 100644 --- a/jetty-annotations/pom.xml +++ b/jetty-annotations/pom.xml @@ -2,7 +2,7 @@ org.eclipse.jetty jetty-project - 7.0.0.M2 + 7.0.0.M2-SNAPSHOT 4.0.0 jetty-annotations diff --git a/jetty-client/pom.xml b/jetty-client/pom.xml index 449c9915e03..922a73d36ae 100644 --- a/jetty-client/pom.xml +++ b/jetty-client/pom.xml @@ -2,7 +2,7 @@ org.eclipse.jetty jetty-project - 7.0.0.M2 + 7.0.0.M2-SNAPSHOT 4.0.0 jetty-client diff --git a/jetty-continuation/pom.xml b/jetty-continuation/pom.xml index cce8dc31c82..2dd49973ed1 100644 --- a/jetty-continuation/pom.xml +++ b/jetty-continuation/pom.xml @@ -2,7 +2,7 @@ org.eclipse.jetty jetty-project - 7.0.0.M2 + 7.0.0.M2-SNAPSHOT 4.0.0 jetty-continuation diff --git a/jetty-deploy/pom.xml b/jetty-deploy/pom.xml index 34f45d15832..f443d0ffc7b 100644 --- a/jetty-deploy/pom.xml +++ b/jetty-deploy/pom.xml @@ -2,7 +2,7 @@ org.eclipse.jetty jetty-project - 7.0.0.M2 + 7.0.0.M2-SNAPSHOT 4.0.0 jetty-deploy diff --git a/jetty-distribution/pom.xml b/jetty-distribution/pom.xml index a5a13f10c2a..d17b89a2af3 100644 --- a/jetty-distribution/pom.xml +++ b/jetty-distribution/pom.xml @@ -3,7 +3,7 @@ org.eclipse.jetty jetty-project - 7.0.0.M2 + 7.0.0.M2-SNAPSHOT jetty-distribution Jetty :: Distribution Assemblies diff --git a/jetty-embedded-examples/pom.xml b/jetty-embedded-examples/pom.xml index 0e87240269f..8cafaefaf6a 100644 --- a/jetty-embedded-examples/pom.xml +++ b/jetty-embedded-examples/pom.xml @@ -2,7 +2,7 @@ org.eclipse.jetty jetty-project - 7.0.0.M2 + 7.0.0.M2-SNAPSHOT 4.0.0 jetty-embedded-examples diff --git a/jetty-http/pom.xml b/jetty-http/pom.xml index c76d122093d..32e99172af3 100644 --- a/jetty-http/pom.xml +++ b/jetty-http/pom.xml @@ -2,7 +2,7 @@ jetty-project org.eclipse.jetty - 7.0.0.M2 + 7.0.0.M2-SNAPSHOT 4.0.0 org.eclipse.jetty diff --git a/jetty-io/pom.xml b/jetty-io/pom.xml index a5e7994d899..2babfd490e6 100644 --- a/jetty-io/pom.xml +++ b/jetty-io/pom.xml @@ -2,7 +2,7 @@ jetty-project org.eclipse.jetty - 7.0.0.M2 + 7.0.0.M2-SNAPSHOT 4.0.0 org.eclipse.jetty diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/bio/StreamEndPoint.java b/jetty-io/src/main/java/org/eclipse/jetty/io/bio/StreamEndPoint.java index f53f78db1e5..324384384e3 100644 --- a/jetty-io/src/main/java/org/eclipse/jetty/io/bio/StreamEndPoint.java +++ b/jetty-io/src/main/java/org/eclipse/jetty/io/bio/StreamEndPoint.java @@ -129,9 +129,6 @@ public class StreamEndPoint implements EndPoint { int len=0; - // TODO consider copying buffer and trailer into header if there is space. - - if (header!=null) { int tw=header.length(); diff --git a/jetty-jmx/pom.xml b/jetty-jmx/pom.xml index 61d907994e2..c39fcf16157 100644 --- a/jetty-jmx/pom.xml +++ b/jetty-jmx/pom.xml @@ -2,7 +2,7 @@ org.eclipse.jetty jetty-project - 7.0.0.M2 + 7.0.0.M2-SNAPSHOT 4.0.0 jetty-jmx diff --git a/jetty-jndi/pom.xml b/jetty-jndi/pom.xml index ce82dfdf93c..d3738a2b886 100644 --- a/jetty-jndi/pom.xml +++ b/jetty-jndi/pom.xml @@ -2,7 +2,7 @@ org.eclipse.jetty jetty-project - 7.0.0.M2 + 7.0.0.M2-SNAPSHOT 4.0.0 jetty-jndi diff --git a/jetty-plus/pom.xml b/jetty-plus/pom.xml index 21a85ba1eea..d5d6360d61c 100644 --- a/jetty-plus/pom.xml +++ b/jetty-plus/pom.xml @@ -2,7 +2,7 @@ org.eclipse.jetty jetty-project - 7.0.0.M2 + 7.0.0.M2-SNAPSHOT 4.0.0 jetty-plus diff --git a/jetty-rewrite/pom.xml b/jetty-rewrite/pom.xml index aee9b8e1673..60206621c53 100644 --- a/jetty-rewrite/pom.xml +++ b/jetty-rewrite/pom.xml @@ -2,7 +2,7 @@ org.eclipse.jetty jetty-project - 7.0.0.M2 + 7.0.0.M2-SNAPSHOT 4.0.0 jetty-rewrite diff --git a/jetty-security/pom.xml b/jetty-security/pom.xml index 563d226b7a7..4a707114df2 100644 --- a/jetty-security/pom.xml +++ b/jetty-security/pom.xml @@ -2,7 +2,7 @@ org.eclipse.jetty jetty-project - 7.0.0.M2 + 7.0.0.M2-SNAPSHOT 4.0.0 jetty-security diff --git a/jetty-server/pom.xml b/jetty-server/pom.xml index 044b5ae9afb..15703c3d937 100644 --- a/jetty-server/pom.xml +++ b/jetty-server/pom.xml @@ -2,7 +2,7 @@ org.eclipse.jetty jetty-project - 7.0.0.M2 + 7.0.0.M2-SNAPSHOT 4.0.0 jetty-server diff --git a/jetty-servlet-tester/pom.xml b/jetty-servlet-tester/pom.xml index e5c2bfa03f1..92ad187722e 100644 --- a/jetty-servlet-tester/pom.xml +++ b/jetty-servlet-tester/pom.xml @@ -2,7 +2,7 @@ org.eclipse.jetty jetty-project - 7.0.0.M2 + 7.0.0.M2-SNAPSHOT 4.0.0 jetty-servlet-tester diff --git a/jetty-servlet/pom.xml b/jetty-servlet/pom.xml index fb4334c2bd8..f1d57a9005e 100644 --- a/jetty-servlet/pom.xml +++ b/jetty-servlet/pom.xml @@ -3,7 +3,7 @@ jetty-project org.eclipse.jetty - 7.0.0.M2 + 7.0.0.M2-SNAPSHOT 4.0.0 jetty-servlet diff --git a/jetty-servlets/pom.xml b/jetty-servlets/pom.xml index 1df58edc224..5041baecf58 100644 --- a/jetty-servlets/pom.xml +++ b/jetty-servlets/pom.xml @@ -3,7 +3,7 @@ jetty-project org.eclipse.jetty - 7.0.0.M2 + 7.0.0.M2-SNAPSHOT 4.0.0 jetty-servlets diff --git a/jetty-start/pom.xml b/jetty-start/pom.xml index 95714b5f319..1a9c41a0a89 100644 --- a/jetty-start/pom.xml +++ b/jetty-start/pom.xml @@ -2,7 +2,7 @@ org.eclipse.jetty jetty-project - 7.0.0.M2 + 7.0.0.M2-SNAPSHOT 4.0.0 jetty-start diff --git a/jetty-start/src/main/java/org/eclipse/jetty/start/Main.java b/jetty-start/src/main/java/org/eclipse/jetty/start/Main.java index bee612f9cae..a6db54a417d 100644 --- a/jetty-start/src/main/java/org/eclipse/jetty/start/Main.java +++ b/jetty-start/src/main/java/org/eclipse/jetty/start/Main.java @@ -567,9 +567,13 @@ public class Main if (cpcfg==null) cpcfg=new FileInputStream(_config); configure(cpcfg,args.length); - File file=new File(System.getProperty("jetty.home")); - String canonical=file.getCanonicalPath(); - System.setProperty("jetty.home",canonical); + String jetty_home=System.getProperty("jetty.home"); + if (jetty_home!=null) + { + File file=new File(jetty_home); + String canonical=file.getCanonicalPath(); + System.setProperty("jetty.home",canonical); + } } catch (Exception e) { diff --git a/jetty-test-webapp/pom.xml b/jetty-test-webapp/pom.xml index f183c0431a1..dfdc32b0b1c 100644 --- a/jetty-test-webapp/pom.xml +++ b/jetty-test-webapp/pom.xml @@ -2,7 +2,7 @@ org.eclipse.jetty jetty-project - 7.0.0.M2 + 7.0.0.M2-SNAPSHOT 4.0.0 org.eclipse.jetty diff --git a/jetty-util/pom.xml b/jetty-util/pom.xml index 262d64827a5..fc1db72ff2b 100644 --- a/jetty-util/pom.xml +++ b/jetty-util/pom.xml @@ -2,7 +2,7 @@ org.eclipse.jetty jetty-project - 7.0.0.M2 + 7.0.0.M2-SNAPSHOT 4.0.0 jetty-util diff --git a/jetty-webapp/pom.xml b/jetty-webapp/pom.xml index fa71c098a61..bd15dc7a84f 100644 --- a/jetty-webapp/pom.xml +++ b/jetty-webapp/pom.xml @@ -2,7 +2,7 @@ org.eclipse.jetty jetty-project - 7.0.0.M2 + 7.0.0.M2-SNAPSHOT 4.0.0 jetty-webapp diff --git a/jetty-xml/pom.xml b/jetty-xml/pom.xml index 6e4dea1bbbe..6d052f6e37c 100644 --- a/jetty-xml/pom.xml +++ b/jetty-xml/pom.xml @@ -2,7 +2,7 @@ org.eclipse.jetty jetty-project - 7.0.0.M2 + 7.0.0.M2-SNAPSHOT 4.0.0 jetty-xml diff --git a/pom.xml b/pom.xml index 9d3eea0a3cd..52f402a9976 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ org.eclipse.jetty jetty-project - 7.0.0.M2 + 7.0.0.M2-SNAPSHOT Jetty :: Project ${jetty.url} pom