From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH]: Add Ant. Date: Thu, 05 Feb 2015 13:34:07 +0100 Message-ID: <87r3u44jwg.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56641) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJLdN-0008UK-7K for guix-devel@gnu.org; Thu, 05 Feb 2015 07:34:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJLdK-0008P9-1b for guix-devel@gnu.org; Thu, 05 Feb 2015 07:34:13 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45037) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJLdJ-0008P4-UZ for guix-devel@gnu.org; Thu, 05 Feb 2015 07:34:09 -0500 In-Reply-To: (Ricardo Wurmus's message of "Fri, 30 Jan 2015 17:21:54 +0100") 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ricardo Wurmus Cc: guix-devel Ricardo Wurmus skribis: > A couple more things: > > * the installation script copies MS DOS batch scripts to $out/bin, which > we could do without. Indeed. :-) Would be best to get rid of them. > * there are many launcher scripts for Ant: bash scripts, perl scripts, > Python scripts ... Does ant-minimal need to get perl and python as > inputs or can we do without these additional dependencies? By launcher scripts, do you mean the =E2=80=98ant=E2=80=99 command? I supp= ose it=E2=80=99s enough to have one of them, and the Bash version is probably the one with the smallest disk space footprint, no? > * to use Ant without problems ANT_HOME and JAVA_HOME really should be > set appropriately (ANT_HOME to $out of the ant-minimal package, > JAVA_HOME to $out of icedtea6). Should I suggest these two paths as > search paths by adding something like this to ant-minimal (for > ANT_HOME) and icedtea6 (for JAVA_HOME)? > > (native-search-paths > (list (search-path-specification > (variable "ANT_HOME") > (files '("."))))) Since Ant is generally used via the =E2=80=98ant=E2=80=99 command (AIUI), w= hat about wrapping that command so that ANT_HOME and JAVA_HOME are set appropriately? Thanks, Ludo=E2=80=99.