guix_mirror_bot pushed a commit to branch java-team
in repository guix.
commit bf7ce2ee2fb8598383c775065f1bbe8b9e538a84
Author: Constantin Tarasov <[email protected]>
AuthorDate: Sun Oct 11 23:14:32 2026 +0000
gnu: ant: Change source snippet to remove some tests and JAR files.
* gnu/packages/java.scm (ant)[source]<snippet>: Change source snippet to
remove more precompiled JAR files and tests depending on some of them.
Change-Id: I679c0f3a08aec9c6c8f02e28d73a35cf1e6aa03c
Signed-off-by: Julien Lepiller <[email protected]>
---
gnu/packages/java.scm | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 66e03706d9d..0c495d80d28 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2085,8 +2085,18 @@ OpenJDK.")
(modules '((guix build utils)))
(snippet
'(begin
- (for-each delete-file
- (find-files "lib/optional" "\\.jar$"))))))
+ (for-each
+ delete-file
+ (append
+ (find-files "." "\\.jar$")
+ ;; These tests depend on pre-existing JAR-files:
+ (find-files
+ "src/tests/junit/org/apache/tools/ant/taskdefs/condition"
+ "(IsFileSelectedTest|IsSignedTest)\\.java$")
+ (list
+ (string-append
+ "src/tests/junit/org/apache/tools/ant"
+ "/types/selectors/SignedSelectorTest.java"))))))))
(build-system ant-build-system)
(arguments
(list