From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: State of maven build system, gradle and Apache commens Date: Fri, 2 Sep 2016 09:47:58 +0200 Message-ID: References: <57C812CE.1000308@goebel-consult.de> <57C85C78.5070800@goebel-consult.de> 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]:44901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfjCt-00046q-Aa for guix-devel@gnu.org; Fri, 02 Sep 2016 03:48:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bfjCn-0000ah-8R for guix-devel@gnu.org; Fri, 02 Sep 2016 03:48:10 -0400 Received: from sinope02.bbbm.mdc-berlin.de ([141.80.25.24]:51704) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfjCn-0000ab-2Z for guix-devel@gnu.org; Fri, 02 Sep 2016 03:48:05 -0400 In-Reply-To: <57C85C78.5070800@goebel-consult.de> 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: Hartmut Goebel Cc: guix-devel@gnu.org Hartmut Goebel writes: > Hallo, > > apache-commons > > These might have unpackaged dependencies of their own. If you took ove= r > =E2=80=9Capache-commons=E2=80=9D that would be very helpful. You shoul= d be able to use > the =E2=80=9Cant-build-system=E2=80=9D to get started, even if it doesn= =E2=80=99t result in the > prettiest packages. > > Curiously maven requires commons-io, and commons-io can officially be > build using maven. That's crude! That=E2=80=99s a common problem, unfortunately (Maven itself needs Maven,= for example). The =E2=80=9Cant-build-system=E2=80=9D can generate a simple =E2= =80=9Cbuild.xml=E2=80=9D file for those packages that don=E2=80=99t have one, so building individual li= braries without Maven is possible (albeit not always convenient enough). > CLASSPATH element /gnu/store/=E2=80=A6-icedtea-2.6.7-jdk/bin/jar is not= a JAR. This should not be on the CLASSPATH. The =E2=80=9Cant-build-system=E2=80= =9D sets CLASSPATH to the result of running =E2=80=9Cgenerate-classpath=E2=80=9D o= n all inputs. Currently, all this does it add any and all =E2=80=9C.jar=E2=80=9D files = to the CLASSPATH. To keep =E2=80=9Cjar=E2=80=9D itself out, the regular express= ion should be changed from (find-files dir "\\.*jar$") to something like (find-files dir "\\.jar$") > And of course, this is not a jar, but a binary. Also the CLASSPATH > includes *a lot* of stuff, eg, > /gnu/store/=E2=80=A6-icedtea-2.6.7-jdk/demo/jfc/Notepad/Notepad.jar whi= ch I'd > assume should not be on the standard class-path? This could be removed by augmenting =E2=80=9Cgenerate-classpath=E2=80=9D = in =E2=80=9Cguix/build/ant-build-system.scm=E2=80=9D. ~~ Ricardo