[java-idp-jetty-base] 01/01: Adjust files for Eclipse usage.
Scott Cantor
cantor.2 at osu.edu
Tue Aug 8 16:05:40 UTC 2023
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch 11-testbed-eclipse
in repository java-idp-jetty-base.
View the commit online:
http://git.shibboleth.net/view/?p=java-idp-jetty-base.git;a=commit;h=42df39bb573290b58a2ac84713269e20ad73a24b
commit 42df39bb573290b58a2ac84713269e20ad73a24b
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Aug 8 12:05:29 2023 -0400
Adjust files for Eclipse usage.
---
src/main/resources/jetty-base/start.d/idp.ini | 5 +++--
src/main/resources/jetty-base/webapps/idp.xml | 2 +-
src/main/resources/jetty-base/webapps/testbed.xml | 9 +++++++++
3 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/src/main/resources/jetty-base/start.d/idp.ini b/src/main/resources/jetty-base/start.d/idp.ini
index 92b2b87..012b73f 100644
--- a/src/main/resources/jetty-base/start.d/idp.ini
+++ b/src/main/resources/jetty-base/start.d/idp.ini
@@ -35,5 +35,6 @@ jetty.ssl.port=443
etc/jetty-requestlog.xml
# Allows use of default IdP command line tools.
-jetty.http.host=127.0.0.1
-jetty.http.port=80
+# Seems not to work under Eclipse though 443 above does.
+#jetty.http.host=127.0.0.1
+#jetty.http.port=80
diff --git a/src/main/resources/jetty-base/webapps/idp.xml b/src/main/resources/jetty-base/webapps/idp.xml
index ad1a6fe..507fc38 100644
--- a/src/main/resources/jetty-base/webapps/idp.xml
+++ b/src/main/resources/jetty-base/webapps/idp.xml
@@ -4,7 +4,7 @@
<!-- Configure the Shibboleth IdP webapp -->
<!-- =============================================================== -->
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
- <Set name="war"><SystemProperty name="idp.home" default="/opt/shibboleth-idp" />/war/idp.war</Set>
+ <Set name="war">../../../../../java-identity-provider/idp-war/src/main/webapp</Set>
<Set name="contextPath"><SystemProperty name="idp.context.path" default="/idp" /></Set>
<Set name="extractWAR">false</Set>
<Set name="copyWebDir">false</Set>
diff --git a/src/main/resources/jetty-base/webapps/testbed.xml b/src/main/resources/jetty-base/webapps/testbed.xml
new file mode 100644
index 0000000..9578ea8
--- /dev/null
+++ b/src/main/resources/jetty-base/webapps/testbed.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "https://www.eclipse.org/jetty/configure_10_0.dtd">
+<Configure class="org.eclipse.jetty.webapp.WebAppContext">
+ <Set name="war">../../../../../java-idp-testbed/src/main/webapp/</Set>
+ <Set name="contextPath">/</Set>
+ <Set name="extractWAR">false</Set>
+ <Set name="copyWebDir">false</Set>
+ <Set name="copyWebInf">true</Set>
+</Configure>
\ No newline at end of file
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list