gnu: java-commons-jexl-2: Use invoke.

* gnu/packages/java.scm (java-commons-jexl-2)[arguments]: Use invoke.
This commit is contained in:
Ricardo Wurmus 2018-02-27 20:45:53 +01:00
parent 8c7d32e07c
commit 080d0b605a
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 3 additions and 2 deletions

View File

@ -7654,8 +7654,9 @@ configuration and string construction.")
(add-before 'build 'run-javacc
(lambda _
(with-directory-excursion "src/main/java/org/apache/commons/jexl2/parser/"
(and (zero? (system* "java" "jjtree" "Parser.jjt"))
(zero? (system* "java" "javacc" "Parser.jj")))))))))
(invoke "java" "jjtree" "Parser.jjt")
(invoke "java" "javacc" "Parser.jj"))
#t)))))
(inputs
`(("java-commons-logging-minimal" ,java-commons-logging-minimal)))
(native-inputs