[java-identity-provider] branch main updated: IDP-1942 Installer copies .gitkeep (and possibly .gitignore) files
Rod Widdowson
rdw at steadingsoftware.com
Tue May 3 15:37:02 UTC 2022
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=604d971d039eac91b2d6fecc25228a9eea3670c0
The following commit(s) were added to refs/heads/main by this push:
new 604d971d0 IDP-1942 Installer copies .gitkeep (and possibly .gitignore) files
604d971d0 is described below
commit 604d971d039eac91b2d6fecc25228a9eea3670c0
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue May 3 16:34:55 2022 +0100
IDP-1942 Installer copies .gitkeep (and possibly .gitignore) files
https://shibboleth.atlassian.net/browse/IDP-1942
Add exclusion **/.gitkeep
---
.../src/main/java/net/shibboleth/idp/installer/InstallerSupport.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/idp-installer/src/main/java/net/shibboleth/idp/installer/InstallerSupport.java b/idp-installer/src/main/java/net/shibboleth/idp/installer/InstallerSupport.java
index e1637fc0e..0c2561d4c 100644
--- a/idp-installer/src/main/java/net/shibboleth/idp/installer/InstallerSupport.java
+++ b/idp-installer/src/main/java/net/shibboleth/idp/installer/InstallerSupport.java
@@ -85,6 +85,8 @@ public final class InstallerSupport {
result.setTodir(to.toFile());
final FileSet fromSet = new FileSet();
fromSet.setDir(from.toFile());
+ final String[] gitkeep= {"**/.gitkeep"};
+ fromSet.appendExcludes(gitkeep);
result.setPreserveLastModified(true);
result.addFileset(fromSet);
result.setProject(ANT_PROJECT);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list