From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: OpenJDK support Date: Mon, 8 Feb 2016 18:26:16 +0100 Message-ID: References: <20160208135740.GA27375@thebird.nl> <87vb5zfcr2.fsf@gnu.org> <20160208162633.GA28350@thebird.nl> 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]:49900) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSpa2-0003Np-7H for guix-devel@gnu.org; Mon, 08 Feb 2016 12:26:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSpZx-0004Kb-43 for guix-devel@gnu.org; Mon, 08 Feb 2016 12:26:30 -0500 In-Reply-To: <20160208162633.GA28350@thebird.nl> 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: Pjotr Prins Cc: guix-devel@gnu.org Pjotr Prins writes: > On Mon, Feb 08, 2016 at 04:22:25PM +0100, Ludovic Court=C3=A8s wrote: >> > We are bootstrapping with GCJ. >>=20 >> And kudos to you Ricardo for doing the right thing. It=E2=80=99s much= more >> confidence-inspiring than the above snippet. :-) > > Yes, it is very impressive in fact. Of course the journey starts here. > > Maven provides similar functionality as rubygems, e.g. > > http://mvnrepository.com/artifact/junit/junit > > this could mean we can write an import command that fetches=20 > dependency info from maven. Yes, I=E2=80=99ve been thinking about this too. It seems that we could g= et dependency information from pom.xml files, though I=E2=80=99m not sure ho= w we can canonicalise names. It seems that what matters to Maven is the identifier of binary artifacts on the central Maven repository. I don=E2= =80=99t know how this is derived and if the name of the library is used at all. > It looks like we can tell maven to find jars on the local=20 > system. Jars we have built already. So we can use it as a=20 > build system. I think that is a prerequisite. Yes. I have no experience with Maven, but it is crucial that we can tell it use what=E2=80=99s already in the store. I do not know if this i= s possible as we rebuild jars and thus the binary artifacts probably differ from what Maven might expect. We would have to figure out what Maven=E2=80=99s expectations really are and how we can satisfy them witho= ut using binaries from the central Maven repository. > Even so, getting all these jars built is going to be quite a job... I=E2=80=99ve already built a couple of jars that we need for a working Ma= ven with a preliminary ant-build-system. I welcome contributions on this end, because I=E2=80=99m not familiar enough with the unwritten assumptio= ns of Java libraries and systems. I=E2=80=99ll update the ant-build-system soon and then submit a couple of patches for libraries needed to build Maven from source (without having to use a bootstrap Maven that=E2=80=99s automatically downloaded when bui= lding Maven with Ant). ~~ Ricardo