[java-idp-plugin-jetty] 02/04: JJETTY-13 Implement Jetty-base plugin V2

Rod Widdowson rdw at steadingsoftware.com
Wed Jul 30 10:24:36 UTC 2025


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch main
in repository java-idp-plugin-jetty.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-jetty.git;a=commit;h=841b9bb7e248ec7630d41970b2a5afcee63933b2

commit 841b9bb7e248ec7630d41970b2a5afcee63933b2
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sun Jul 27 14:28:33 2025 +0100

    JJETTY-13 Implement Jetty-base plugin V2
    
    https://shibboleth.atlassian.net/browse/JJETTY-13
    
    We have a better way of swapping \ to / in a bat file
---
 .../java/net/shibboleth/idp/module/jetty/JettyModule.java | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/jetty-impl/src/main/java/net/shibboleth/idp/module/jetty/JettyModule.java b/jetty-impl/src/main/java/net/shibboleth/idp/module/jetty/JettyModule.java
index 6d2ae50..7ae119d 100644
--- a/jetty-impl/src/main/java/net/shibboleth/idp/module/jetty/JettyModule.java
+++ b/jetty-impl/src/main/java/net/shibboleth/idp/module/jetty/JettyModule.java
@@ -64,21 +64,6 @@ public class JettyModule extends PluginIdPModule {
         if (!Files.exists(keystore)) {
             generateKeystore(keystore);
         }
-        if (SystemUtils.IS_OS_WINDOWS) {
-            final File jettyHelper = idpHome.resolve("jetty-base").resolve("jetty.base.linux").toFile();
-            if (!jettyHelper.exists()) {
-                try {
-                    final String idpHomeString = idpHome.toFile().getCanonicalPath().replace('\\', '/');
-                    try (final PrintStream stream = new PrintStream(jettyHelper)) {
-                        stream.printf("%s\n", idpHomeString);
-                    }
-                }
-                catch (IOException e) {
-                    log.error("Could not write jetty-base/jetty.base.linux", e);
-                    throw new ModuleException("Could not write jetty-base/jetty.base.linux", e);
-                }
-            }
-        }
         return result;
     }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list