guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#31333] [PATCH 09/22] gnu: Add groovy-bsf.


From: Danny Milosavljevic
Subject: [bug#31333] [PATCH 09/22] gnu: Add groovy-bsf.
Date: Mon, 7 May 2018 20:07:52 +0200

> +       #:test-exclude (list
> +;; exception from Groovy: 
> org.codehaus.groovy.runtime.InvokerInvocationException:
> +;; groovy.lang.MissingMethodException: No signature of method:
> +;; java.util.ArrayList.each() is applicable for argument types:
> +;; (groovy.script.MapFromList$_doit_closure1) values:
> +;; address@hidden
> +                        "**/BSFTest.java")

If not already known upstream, could you report it there?

> +           (lambda _
> +             (chdir "subprojects/groovy-bsf")))

#t

> +         (replace 'build
> +           (lambda _
> +             (mkdir-p "build/classes")
> +             (mkdir-p "build/jar")
> +             (and
> +               (zero? (apply system* "java" "-cp" (getenv "CLASSPATH")
> +                               "org.codehaus.groovy.tools.FileSystemCompiler"
> +                               "-d" "build/classes"
> +                               "-j"; joint compilation
> +                               (find-files "src/main"
> +                                           ".*\\.(groovy|java)$")))
> +               (zero? (system* "jar" "-cf" "build/jar/groovy-bsf.jar"
> +                               "-C" "build/classes" ".")))))

If these are always exactly the same we can think about adding a build system 
for groovy in the future.  Doesn't have to be complicated or anything, just so 
it does this phase (and "check") automatically.

LGTM!

Attachment: pgpoPR5fLrqI_.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]