From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56736) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBStz-000182-3v for guix-patches@gnu.org; Thu, 18 May 2017 17:24:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dBStv-0005He-6w for guix-patches@gnu.org; Thu, 18 May 2017 17:24:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51291) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dBStv-0005HO-43 for guix-patches@gnu.org; Thu, 18 May 2017 17:24:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dBStu-0007TC-Fz for guix-patches@gnu.org; Thu, 18 May 2017 17:24:02 -0400 Subject: bug#26966: [PATCH 21/22] gnu: ant: Update to 1.10.1. Resent-Message-ID: References: <20170517171905.7840-1-rekado@elephly.net> <20170517171905.7840-21-rekado@elephly.net> <87h90inddx.fsf@elephly.net> From: Ricardo Wurmus In-reply-to: <87h90inddx.fsf@elephly.net> Date: Thu, 18 May 2017 23:23:54 +0200 Message-ID: <87fug1oo45.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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: Roel Janssen Cc: 26966@debbugs.gnu.org Ricardo Wurmus writes: > It does, but I found a problem with this patch. The ant-build-system > uses “ant”, obviously. But since ant 1.10.1 requires Java 8 support, we > have to tell the ant-build-system to use the latest JDK as well. > > This means making “icedtea” a pointer to “icedtea-8” instead of > “icedtea-7”. I don’t see a good reason not to do this anyway, as > individual packages can always overwrite the packages with #:ant and > #:jdk. > > I’ll also add a variant “ant/java7”, which will be ant 1.9.9, the last > to build with icedtea-7, for those packages that cannot be built with > the new default JDK. Actually, after trying to build a few things with the latest JDK (and failing) I think it’s better to address the move to icedtea-8 later. It’s a bit more work than I thought. So I’ll just keep version 1.9.9 as “ant” and add “ant/java8” with version 1.10.1. We leave the default ant as “ant” and the default JDK as “icedtea-7” for now. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net