[java-idp-plugin-jetty] 161/186: Windows install bug fixes.

Rod Widdowson rdw at steadingsoftware.com
Thu Jul 24 15:58:32 UTC 2025


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

rdw pushed a commit to branch dev/foo
in repository java-idp-plugin-jetty.

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

commit c4f34166ad1e0b0c9e0a6f17ab832d400c5d52bd
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Mon Nov 11 15:09:04 2024 +0000

    Windows install bug fixes.
    
    - Fix for paths with spaces.
    - Fix the magical command line to poke holes in the firewall
---
 .../net/shibboleth/idp/module/jetty/config-jetty.bat       | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/jetty-impl/src/main/resources/net/shibboleth/idp/module/jetty/config-jetty.bat b/jetty-impl/src/main/resources/net/shibboleth/idp/module/jetty/config-jetty.bat
index 4ddeb58..d126d51 100644
--- a/jetty-impl/src/main/resources/net/shibboleth/idp/module/jetty/config-jetty.bat
+++ b/jetty-impl/src/main/resources/net/shibboleth/idp/module/jetty/config-jetty.bat
@@ -23,18 +23,18 @@ for /f "tokens=* USEBACKQ" %%F in (`type "%JETTY_BASE%\jetty.base.linux"`) do (
 
 if "%1" EQU "UNINSTALL" (
     @echo on
-    %PRUNSRV% //DS/Shibd_idp
+    "%PRUNSRV%" //DS/Shibd_idp
     exit /b
 )
 
 if "%1" EQU "EDIT" (
     @echo on
-    start %IDP_HOME_WINDOWS%\shibd_idp\prunmgr //ES/Shibd_idp
+    start "%IDP_HOME_WINDOWS%\shibd_idp\prunmgr" //ES/Shibd_idp
     exit /b
 )
 
 if NOT "%1" EQU "INSTALL" (
-   echo "Usage : XXXX [INSTALL|UNINSTALL] [User]
+   echo "Usage : config-jetty [EDIT|INSTALL|UNINSTALL] [User]
    exit /b
 )
 
@@ -79,17 +79,17 @@ SET PR_STOPMODE=JVM
 SET PR_STOPCLASS=org.eclipse.jetty.start.Main
 SET PR_STOPPARAMS=--stop;%PR_STARTPARAMS%
 
-%PRUNSRV% //IS/Shibd_idp --Startup=auto
+"%PRUNSRV%" //IS/Shibd_idp --Startup=auto
 
 REM
 REM With that done poke holes in the firewall using "netsh advfirewall"
 REM
-netsh advfirewall firewall add rule name="Shibboleth IdP Service" dir=in action=allow program="%PRUNSRV% " enable=yes protocol=tcp
+netsh advfirewall firewall add rule name="Shibboleth IdP Service" dir=in action=allow program="%PRUNSRV%" enable=yes protocol=tcp
 
 REM
 REM Lock down the install
 REM
-call %~dp0\setacl.bat %USERNAME%
+call "%~dp0\setacl.bat" %USERNAME%
 
 REM
 REM We also need to lock down jetty-base-tmp
@@ -113,7 +113,7 @@ REM
 REM start the service
 REM
 
-%PRUNSRV% //ES/Shibd_idp
+"%PRUNSRV%" //ES/Shibd_idp
 
 REM
 REM All done!

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


More information about the commits mailing list