[java-identity-provider] branch main updated: IDP-1690 Plugin -r does not remove contents file

Rod Widdowson rdw at steadingsoftware.com
Fri Oct 16 15:25:17 UTC 2020


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

rdw pushed a commit to branch main
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=94f516548839ee4a1ccbd7f23c0d0983e6ab6177

The following commit(s) were added to refs/heads/main by this push:
       new  94f516548 IDP-1690 Plugin -r does not remove contents file
94f516548 is described below

commit 94f516548839ee4a1ccbd7f23c0d0983e6ab6177
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Fri Oct 16 16:24:20 2020 +0100

    IDP-1690 Plugin -r does not remove contents file
    
    https://issues.shibboleth.net/jira/browse/IDP-1690
---
 .../java/net/shibboleth/idp/installer/plugin/impl/PluginInstaller.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/idp-installer/src/main/java/net/shibboleth/idp/installer/plugin/impl/PluginInstaller.java b/idp-installer/src/main/java/net/shibboleth/idp/installer/plugin/impl/PluginInstaller.java
index 29757ace8..0bda648b6 100644
--- a/idp-installer/src/main/java/net/shibboleth/idp/installer/plugin/impl/PluginInstaller.java
+++ b/idp-installer/src/main/java/net/shibboleth/idp/installer/plugin/impl/PluginInstaller.java
@@ -306,6 +306,7 @@ public final class PluginInstaller extends AbstractInitializableComponent implem
             builder.execute();
             LOG.info("Removed resources for {} from the war", pluginId);
         }
+        distPath.resolve("plugin-contents").resolve(pluginId).toFile().deleteOnExit();
     }
 
     /** Get hold of the {@link IdPPlugin} for this plugin.

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


More information about the commits mailing list