From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54685) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFkYR-00087B-Nu for guix-patches@gnu.org; Mon, 07 May 2018 14:08:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fFkYM-0005cE-NV for guix-patches@gnu.org; Mon, 07 May 2018 14:08:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:45192) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fFkYM-0005c2-JO for guix-patches@gnu.org; Mon, 07 May 2018 14:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fFkYM-0006G6-Au for guix-patches@gnu.org; Mon, 07 May 2018 14:08:02 -0400 Subject: [bug#31333] [PATCH 09/22] gnu: Add groovy-bsf. Resent-Message-ID: Date: Mon, 7 May 2018 20:07:52 +0200 From: Danny Milosavljevic Message-ID: <20180507200752.3a82809a@scratchpost.org> In-Reply-To: <20180501154449.3531-9-julien@lepiller.eu> References: <20180501174136.1c411b1a@lepiller.eu> <20180501154449.3531-1-julien@lepiller.eu> <20180501154449.3531-9-julien@lepiller.eu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/yptAq+U.1+CSVnMBcXIPvmA"; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Julien Lepiller Cc: 31333@debbugs.gnu.org --Sig_/yptAq+U.1+CSVnMBcXIPvmA Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable > + #:test-exclude (list > +;; exception from Groovy: org.codehaus.groovy.runtime.InvokerInvocationE= xception: > +;; 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@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.FileSystemComp= iler" > + "-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 syst= em for groovy in the future. Doesn't have to be complicated or anything, j= ust so it does this phase (and "check") automatically. LGTM! --Sig_/yptAq+U.1+CSVnMBcXIPvmA Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlrwlfgACgkQ5xo1VCww uqWekwf/deMJgNU9J2fD1KAi4kvTe0uC+7DGh5j5Isfpu0kX6/06bOaToddTD7pA u984QuqDnf9LMAXU0TmKL0g9PCbGzqJAh47KFCW0sVnSVFrBF6lA8gM6KjqBWSo9 5Lw8xE4e0p6DYZSMel4tSYLLeV7TMREgVX/jGSzMA4YWxKS3USW1Ea7lgi9xY8l6 1eCJG7QuWqERT2VXJnikFk4XV6iMIYucOz35dST1xegVzp7/I5dShlXIDGF8p2TF f8+ma3/6PT2ryu92LbWVco8c4dvjvc7irK35tn5Z+2rah9rFw1+XoHaJnM1Bl5x+ eXvCCZ0EX7f0Q59k+118co4vvE5hsQ== =vPpj -----END PGP SIGNATURE----- --Sig_/yptAq+U.1+CSVnMBcXIPvmA--