aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-jetty/src
diff options
context:
space:
mode:
authorMaria Odea B. Ching <oching@apache.org>2008-04-08 10:36:50 +0000
committerMaria Odea B. Ching <oching@apache.org>2008-04-08 10:36:50 +0000
commit66612a985f5fcea7e86af85dd163942cac5db5db (patch)
treefe5f30c4f8d9040611ab5e4e6a0474fbd40e8259 /archiva-jetty/src
parent919466bbd25449259800c25a41f19a2e5a27bb70 (diff)
downloadarchiva-66612a985f5fcea7e86af85dd163942cac5db5db.tar.gz
archiva-66612a985f5fcea7e86af85dd163942cac5db5db.zip
[MRM-123]
-configure host and port of the links in the rss feeds git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@645833 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-jetty/src')
-rw-r--r--archiva-jetty/src/main/conf/jetty.xml14
1 files changed, 11 insertions, 3 deletions
diff --git a/archiva-jetty/src/main/conf/jetty.xml b/archiva-jetty/src/main/conf/jetty.xml
index 6e1f4577c..439d808c3 100644
--- a/archiva-jetty/src/main/conf/jetty.xml
+++ b/archiva-jetty/src/main/conf/jetty.xml
@@ -51,6 +51,15 @@
</Set>
+ <Call class="java.lang.System" name="setProperty">
+ <Arg>jetty.port</Arg>
+ <Arg>8080</Arg>
+ </Call>
+
+ <Call class="java.lang.System" name="setProperty">
+ <Arg>jetty.host</Arg>
+ <Arg>localhost</Arg>
+ </Call>
<!-- =========================================================== -->
<!-- Set connectors -->
@@ -64,7 +73,7 @@
<Call name="addConnector">
<Arg>
<New class="org.mortbay.jetty.nio.SelectChannelConnector">
- <Set name="host"><SystemProperty name="jetty.host" /></Set>
+ <Set name="host"><SystemProperty name="jetty.host"/></Set>
<Set name="port"><SystemProperty name="jetty.port" default="8080"/></Set>
<Set name="maxIdleTime">30000</Set>
<Set name="Acceptors">2</Set>
@@ -268,8 +277,7 @@
<Arg type="boolean">True</Arg>
<Arg type="boolean">False</Arg>
</Call>
-
-
+
<!-- ARCHIVA CONFIG -->
<New id="validation_mail" class="org.mortbay.jetty.plus.naming.Resource">