From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Need help from Java-developers Date: Tue, 25 Apr 2017 10:44:37 +0200 Message-ID: <87efwgswp6.fsf@elephly.net> References: <58EF611E.6060404@crazy-compilers.com> <8760hvms82.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d2w5Z-0006vi-TW for guix-devel@gnu.org; Tue, 25 Apr 2017 04:44:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d2w5W-0004Vz-NM for guix-devel@gnu.org; Tue, 25 Apr 2017 04:44:49 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21080) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d2w5W-0004Uc-Gc for guix-devel@gnu.org; Tue, 25 Apr 2017 04:44:46 -0400 In-reply-to: <8760hvms82.fsf@gmail.com> 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: Chris Marusich Cc: guix-devel Chris Marusich writes: >> o How to make the maven-build-system to never ever include other >> jar? Perhaps we need to post-process the generated jars. > > Speaking of JAR files, shouldn't we try to avoid them entirely? My > understanding is that they are compressed files, which means the Guix > daemon won't be able to scan them for references. I don't know if it's > easy to use Maven to build a project without putting the build output > into a JAR file, though. We are already using Jar files. They are generated by the ant-build-system. I don’t think there’s any way around using them, because that’s the format everybody uses. You just add a jar to the CLASSPATH to let java find it. The format is like Zip, but with an additional manifest. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net