[java-idp-jetty-base] 01/02: IDP-2285 https://shibboleth.atlassian.net/issues/IDP-2285
Rod Widdowson
rdw at steadingsoftware.com
Sat Jul 13 14:31:12 UTC 2024
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch 12-windows
in repository java-idp-jetty-base.
View the commit online:
http://git.shibboleth.net/view/?p=java-idp-jetty-base.git;a=commit;h=bda1d4a3526f61f70659bc2bcf1daf8ae625ac59
commit bda1d4a3526f61f70659bc2bcf1daf8ae625ac59
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sat Jul 13 13:27:17 2024 +0100
IDP-2285 https://shibboleth.atlassian.net/issues/IDP-2285
https://shibboleth.atlassian.net/issues/IDP-2285
Remove the static folder from the windows jetty base
Stop using <Property>, use <SystemProperty>
Don't use %{jetty.base}../static, use %{idp.home}static
---
src/main/resources/jetty-base/static/.gitkeep | 0
src/main/resources/jetty-base/webapps/static.xml | 4 +---
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/main/resources/jetty-base/static/.gitkeep b/src/main/resources/jetty-base/static/.gitkeep
deleted file mode 100644
index e69de29..0000000
diff --git a/src/main/resources/jetty-base/webapps/static.xml b/src/main/resources/jetty-base/webapps/static.xml
index e803d0d..2fa6c00 100644
--- a/src/main/resources/jetty-base/webapps/static.xml
+++ b/src/main/resources/jetty-base/webapps/static.xml
@@ -7,9 +7,7 @@
<Set name="contextPath">/</Set>
<Set name="handler">
<New class="org.eclipse.jetty.server.handler.ResourceHandler">
- <Set name="baseResourceAsString">
- <Property name="jetty.base"/>/<Property name="jetty.static.data.path" default="../static"/>
- </Set>
+ <Set name="baseResourceAsString"><SystemProperty name="idp.home"/>/static</Set>
<Set name="dirAllowed">false</Set>
</New>
</Set>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list