From owner-freebsd-java Tue Aug 27 9:44:59 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F0E837B400 for <freebsd-java@freebsd.org>; Tue, 27 Aug 2002 09:44:57 -0700 (PDT) Received: from gull.mail.pas.earthlink.net (gull.mail.pas.earthlink.net [207.217.120.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D7BB43E65 for <freebsd-java@freebsd.org>; Tue, 27 Aug 2002 09:44:57 -0700 (PDT) (envelope-from absinthe@pobox.com) Received: from dhcp068-64-151-24.nt01-c4.cpe.charter-ne.com ([24.151.64.68] helo=laredo.retrovertigo.com) by gull.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17jjSW-0003vm-00; Tue, 27 Aug 2002 09:44:52 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Dylan Carlson <absinthe@pobox.com> Reply-To: absinthe@pobox.com To: Michael Westbay <westbay@seaple.icc.ne.jp>, freebsd-java@FreeBSD.ORG Subject: Re: Port/package guidelines (Ant) Date: Tue, 27 Aug 2002 12:45:12 -0400 User-Agent: KMail/1.4.2 References: <200208170958.14422.absinthe@pobox.com> <200208270601.27637.absinthe@pobox.com> <200208271916.12677.westbay@seaple.icc.ne.jp> In-Reply-To: <200208271916.12677.westbay@seaple.icc.ne.jp> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200208271245.12872.absinthe@pobox.com> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: <freebsd-java.FreeBSD.ORG> List-Archive: <http://docs.freebsd.org/mail/> (Web Archive) List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions) List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-java> List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-java> X-Loop: FreeBSD.org On Tuesday 27 August 2002 06:16am, Michael Westbay wrote: > > JJAR is an acronym for Jakarta JAR Archive Repository, an attempt > at making a CPAN-like service/infrastructure for the Java development > community. > > This is like a mini ports dependency system in and of itself. In fact, I > think that some of the FreeBSD community with a great deal of knowledge on > how the ports dependencies work would be a good fit in this project. > > It is a bit flakey right now, but looks like exactly what we will > eventually want for jar dependencies. This does look cool. I was thinking, prior to your post, how we might index the available JARs and classes on a given system, which this doesn't do -- but this makes the dependency-resolving aspect of a build a no-brainer. Also, it's using Ant's fetch ("Get") mechanism instead of the ports way of downloading ... offhand I don't know if it does MD5's or not... The only significant problem, however, is CLASSPATH. Most people don't have their root CLASSPATH set correctly, nor should we ever expect they would. And if what I'm reading is correct, if the CLASSPATH is not set right, it might not see what JARs are on the system, and try to resolve a dependency for something which already has been installed. We could set CLASSPATH by way of the bsd.java.mk-if all ports were installing things in the proper locations- by doing a 'find' for JARs in ${PREFIX}/java/lib. Using my best Yoda impression: Good idea, this is. -- Dylan Carlson [absinthe@pobox.com] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message