From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thompson, David" Subject: Re: Specifying Java version when using ant-build-system Date: Mon, 15 Aug 2016 10:27:33 -0400 Message-ID: References: <20160815161734.43f11abd@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36001) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZIra-0006Uy-0Q for guix-devel@gnu.org; Mon, 15 Aug 2016 10:27:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bZIrX-0000pE-In for guix-devel@gnu.org; Mon, 15 Aug 2016 10:27:36 -0400 Received: from mail-ua0-x22d.google.com ([2607:f8b0:400c:c08::22d]:35956) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZIrX-0000p4-Da for guix-devel@gnu.org; Mon, 15 Aug 2016 10:27:35 -0400 Received: by mail-ua0-x22d.google.com with SMTP id 97so75359731uav.3 for ; Mon, 15 Aug 2016 07:27:35 -0700 (PDT) In-Reply-To: <20160815161734.43f11abd@scratchpost.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Danny Milosavljevic Cc: guix-devel On Mon, Aug 15, 2016 at 10:17 AM, Danny Milosavljevic wrote: > Hi, > > how can I specify that I need a Java 1.8 compiler and source level when using ant-build-system? > > Also, guix/build-system/ant.scm says: > > (define* (ant-build store name inputs > #:key > (tests? #t) > (test-target "tests") > (configure-flags ''()) > (make-flags ''()) > (build-target "jar") > (jar-name #f) > (phases '(@ (guix build ant-build-system) > %standard-phases)) > (outputs '("out")) > (search-paths '()) > (system (%current-system)) > (guile #f)p > ^^^ what does this mean? > (imported-modules %ant-build-system-modules) > (modules '((guix build ant-build-system) > (guix build utils)))) > Seems to me that it's missing an argument for that. We'll need to add a "java" or "jdk" or whatever argument. - Dave