GNU bug report logs - #31333
[PATCH] Add groovy

Previous Next

Package: guix-patches;

Reported by: Julien Lepiller <julien <at> lepiller.eu>

Date: Tue, 1 May 2018 15:42:02 UTC

Severity: normal

Tags: patch

Done: Julien Lepiller <julien <at> lepiller.eu>

Bug is archived. No further changes may be made.

Full log


Message #101 received at 31333 <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Julien Lepiller <julien <at> lepiller.eu>
Cc: 31333 <at> debbugs.gnu.org
Subject: Re: [bug#31333] [PATCH 09/22] gnu: Add groovy-bsf.
Date: Mon, 7 May 2018 20:07:52 +0200
[Message part 1 (text/plain, inline)]
> +       #: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:
> +;; [groovy.script.MapFromList$_doit_closure1 <at> 17e554d5]
> +                        "**/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!
[Message part 2 (application/pgp-signature, inline)]

This bug report was last modified 7 years and 17 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.