From 351feb4edcfcbfeb56e563979357d0712ca452e3 Mon Sep 17 00:00:00 2001 From: Hugues Malphettes Date: Tue, 22 Jun 2010 17:15:41 +0000 Subject: [PATCH] now that bug 317231 is fixed, we can support the default attribute in the instead of overriding it with some hardcodded values. git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2038 7e9141cc-0065-0410-87d8-b60c137991c4 --- .../osgi/boot/internal/webapp/WebappRegistrationHelper.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/internal/webapp/WebappRegistrationHelper.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/internal/webapp/WebappRegistrationHelper.java index ca6fa6cbab5..090b3e49162 100644 --- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/internal/webapp/WebappRegistrationHelper.java +++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/boot/internal/webapp/WebappRegistrationHelper.java @@ -311,9 +311,9 @@ public class WebappRegistrationHelper { properties.put("jetty.home",jettyHome); } - properties.put("jetty.host",System.getProperty("jetty.host","")); - properties.put("jetty.port",System.getProperty("jetty.port","8080")); - properties.put("jetty.port.ssl",System.getProperty("jetty.port.ssl","8443")); + properties.put("jetty.host",System.getProperty("jetty.host")); + properties.put("jetty.port",System.getProperty("jetty.port")); + properties.put("jetty.port.ssl",System.getProperty("jetty.port.ssl")); while (tokenizer.hasMoreTokens()) {