diff options
Diffstat (limited to 'gnu/packages/java.scm')
| -rw-r--r-- | gnu/packages/java.scm | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index bf7cbad43bc..248f2b72d45 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm | |||
| @@ -1964,7 +1964,7 @@ OpenJDK.") | |||
| 1964 | (home-page "https://www.jetbrains.com/") | 1964 | (home-page "https://www.jetbrains.com/") |
| 1965 | (license license:gpl2+))) | 1965 | (license license:gpl2+))) |
| 1966 | 1966 | ||
| 1967 | (define-public ant/java8 | 1967 | (define-public ant |
| 1968 | (package | 1968 | (package |
| 1969 | (name "ant") | 1969 | (name "ant") |
| 1970 | (version "1.10.15") | 1970 | (version "1.10.15") |
| @@ -1983,7 +1983,7 @@ OpenJDK.") | |||
| 1983 | (build-system ant-build-system) | 1983 | (build-system ant-build-system) |
| 1984 | (arguments | 1984 | (arguments |
| 1985 | (list | 1985 | (list |
| 1986 | #:ant ant | 1986 | #:ant ant/java7 |
| 1987 | #:test-target "test" | 1987 | #:test-target "test" |
| 1988 | #:phases | 1988 | #:phases |
| 1989 | #~(modify-phases %standard-phases | 1989 | #~(modify-phases %standard-phases |
| @@ -2057,7 +2057,7 @@ build process and its dependencies, whereas Make uses Makefile format.") | |||
| 2057 | 2057 | ||
| 2058 | ;; The 1.9.x series is the last that can be built with GCJ. The 1.10.x series | 2058 | ;; The 1.9.x series is the last that can be built with GCJ. The 1.10.x series |
| 2059 | ;; requires Java 8. | 2059 | ;; requires Java 8. |
| 2060 | (define-public ant | 2060 | (define-public ant/java7 |
| 2061 | (package | 2061 | (package |
| 2062 | (name "ant") | 2062 | (name "ant") |
| 2063 | (version "1.9.15") | 2063 | (version "1.9.15") |
| @@ -2143,10 +2143,10 @@ build process and its dependencies, whereas Make uses Makefile format.") | |||
| 2143 | 2143 | ||
| 2144 | (define-public ant-apache-bcel | 2144 | (define-public ant-apache-bcel |
| 2145 | (package | 2145 | (package |
| 2146 | (inherit ant/java8) | 2146 | (inherit ant) |
| 2147 | (name "ant-apache-bcel") | 2147 | (name "ant-apache-bcel") |
| 2148 | (arguments | 2148 | (arguments |
| 2149 | (substitute-keyword-arguments (package-arguments ant/java8) | 2149 | (substitute-keyword-arguments (package-arguments ant) |
| 2150 | ((#:phases phases) | 2150 | ((#:phases phases) |
| 2151 | #~(modify-phases #$phases | 2151 | #~(modify-phases #$phases |
| 2152 | (add-after 'unpack 'link-bcel | 2152 | (add-after 'unpack 'link-bcel |
| @@ -2167,11 +2167,11 @@ build process and its dependencies, whereas Make uses Makefile format.") | |||
| 2167 | (delete-file-recursively bin) | 2167 | (delete-file-recursively bin) |
| 2168 | (delete-file-recursively lib)))))))) | 2168 | (delete-file-recursively lib)))))))) |
| 2169 | (inputs | 2169 | (inputs |
| 2170 | (modify-inputs (package-inputs ant/java8) | 2170 | (modify-inputs (package-inputs ant) |
| 2171 | (prepend java-commons-bcel))))) | 2171 | (prepend java-commons-bcel))))) |
| 2172 | 2172 | ||
| 2173 | (define-deprecated-package ant-junit | 2173 | (define-deprecated-package ant-junit |
| 2174 | ant/java8) | 2174 | ant) |
| 2175 | 2175 | ||
| 2176 | (define-public libantlr3c | 2176 | (define-public libantlr3c |
| 2177 | (package | 2177 | (package |
| @@ -3280,7 +3280,7 @@ is implemented.") | |||
| 3280 | #:jar-name "qdox.jar" | 3280 | #:jar-name "qdox.jar" |
| 3281 | ;; Explicitely use an ant version that includes the junit tasks, since | 3281 | ;; Explicitely use an ant version that includes the junit tasks, since |
| 3282 | ;; it is a dependency of junit. | 3282 | ;; it is a dependency of junit. |
| 3283 | #:ant ,ant | 3283 | #:ant ,ant/java7 |
| 3284 | #:phases | 3284 | #:phases |
| 3285 | (modify-phases %standard-phases | 3285 | (modify-phases %standard-phases |
| 3286 | (replace 'unpack | 3286 | (replace 'unpack |
| @@ -3391,7 +3391,7 @@ documentation tools.") | |||
| 3391 | #:build-target "jar" | 3391 | #:build-target "jar" |
| 3392 | ;; Explicitely use an ant version that includes the junit tasks, since | 3392 | ;; Explicitely use an ant version that includes the junit tasks, since |
| 3393 | ;; it is a dependency of junit. | 3393 | ;; it is a dependency of junit. |
| 3394 | #:ant ,ant | 3394 | #:ant ,ant/java7 |
| 3395 | #:phases | 3395 | #:phases |
| 3396 | (modify-phases %standard-phases | 3396 | (modify-phases %standard-phases |
| 3397 | (add-before 'build 'do-not-use-bundled-asm | 3397 | (add-before 'build 'do-not-use-bundled-asm |
| @@ -3492,7 +3492,7 @@ testing frameworks, mocking libraries and UI validation rules.") | |||
| 3492 | `(#:tests? #f ; Tests require junit | 3492 | `(#:tests? #f ; Tests require junit |
| 3493 | ;; Explicitely use an ant version that includes the junit tasks, since | 3493 | ;; Explicitely use an ant version that includes the junit tasks, since |
| 3494 | ;; it is a dependency of junit. | 3494 | ;; it is a dependency of junit. |
| 3495 | #:ant ,ant | 3495 | #:ant ,ant/java7 |
| 3496 | #:modules ((guix build ant-build-system) | 3496 | #:modules ((guix build ant-build-system) |
| 3497 | (guix build java-utils) | 3497 | (guix build java-utils) |
| 3498 | (guix build utils) | 3498 | (guix build utils) |
| @@ -3580,7 +3580,7 @@ testing frameworks, mocking libraries and UI validation rules.") | |||
| 3580 | `(#:tests? #f | 3580 | `(#:tests? #f |
| 3581 | ;; Explicitely use an ant version that includes the junit tasks, since | 3581 | ;; Explicitely use an ant version that includes the junit tasks, since |
| 3582 | ;; it is a dependency of junit. | 3582 | ;; it is a dependency of junit. |
| 3583 | #:ant ,ant | 3583 | #:ant ,ant/java7 |
| 3584 | #:phases | 3584 | #:phases |
| 3585 | (modify-phases %standard-phases | 3585 | (modify-phases %standard-phases |
| 3586 | (delete 'configure) | 3586 | (delete 'configure) |
| @@ -3645,7 +3645,7 @@ testing frameworks, mocking libraries and UI validation rules.") | |||
| 3645 | #:test-dir "src/test" | 3645 | #:test-dir "src/test" |
| 3646 | ;; Explicitely use an ant version that includes the junit tasks, so | 3646 | ;; Explicitely use an ant version that includes the junit tasks, so |
| 3647 | ;; we can run the tests. | 3647 | ;; we can run the tests. |
| 3648 | #:ant ,ant | 3648 | #:ant ,ant/java7 |
| 3649 | #:test-exclude (list "**/SimpleTest.java" "**/StackTracesTest.java" | 3649 | #:test-exclude (list "**/SimpleTest.java" "**/StackTracesTest.java" |
| 3650 | "**/RuleChainTest.java" "**/TestWatchmanTest.java") | 3650 | "**/RuleChainTest.java" "**/TestWatchmanTest.java") |
| 3651 | #:phases | 3651 | #:phases |
| @@ -5163,7 +5163,7 @@ complex transformations and code analysis tools.") | |||
| 5163 | `(#:tests? #f | 5163 | `(#:tests? #f |
| 5164 | ;; Explicitely use an ant version that includes the junit tasks, since | 5164 | ;; Explicitely use an ant version that includes the junit tasks, since |
| 5165 | ;; it is a dependency of junit. | 5165 | ;; it is a dependency of junit. |
| 5166 | #:ant ,ant | 5166 | #:ant ,ant/java7 |
| 5167 | #:phases | 5167 | #:phases |
| 5168 | (modify-phases %standard-phases | 5168 | (modify-phases %standard-phases |
| 5169 | (delete 'unpack) | 5169 | (delete 'unpack) |
| @@ -5187,7 +5187,7 @@ including java-asm.") | |||
| 5187 | (substitute-keyword-arguments (package-arguments java-asm) | 5187 | (substitute-keyword-arguments (package-arguments java-asm) |
| 5188 | ;; Explicitely use an ant version that includes the junit tasks, since | 5188 | ;; Explicitely use an ant version that includes the junit tasks, since |
| 5189 | ;; it is a dependency of junit. | 5189 | ;; it is a dependency of junit. |
| 5190 | ((#:ant _ ant) ant) | 5190 | ((#:ant _ ant/java7) ant/java7) |
| 5191 | ((#:tests? _) #f))) | 5191 | ((#:tests? _) #f))) |
| 5192 | (native-inputs `()))) | 5192 | (native-inputs `()))) |
| 5193 | 5193 | ||
