From owner-freebsd-java Fri Aug 16 10:44:57 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 BCD2837B400 for ; Fri, 16 Aug 2002 10:44:54 -0700 (PDT) Received: from smtp.hccnet.nl (smtp.hccnet.nl [62.251.0.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAA1743E65 for ; Fri, 16 Aug 2002 10:44:46 -0700 (PDT) (envelope-from znerd@FreeBSD.org) Received: from there by smtp.hccnet.nl via uds51-45.dial.hccnet.nl [62.251.45.51] with SMTP id TAA10264 (8.8.8/1.13); Fri, 16 Aug 2002 19:44:37 +0200 (MET DST) Message-Id: <200208161744.TAA10264@smtp.hccnet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: FreeBSD Project To: Nick Johnson Subject: Re: ports and /usr/local/java Date: Fri, 16 Aug 2002 19:44:33 +0200 X-Mailer: KMail [version 1.3.2] References: <20020816101811.B29093-100000@turing.morons.org> In-Reply-To: <20020816101811.B29093-100000@turing.morons.org> Cc: freebsd-java@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Nick, There is already a proposal for a standard, documented, directory structure for Java ports. But it's not implemented yet. The ball is in my hands at the moment, but I haven't taken the time to score yet. For now the rules -which I realise my ports don't obey- are as follows if you look at the hier(7): * All architecture-independent files should go into ${PREFIX}/share * All Java files should go into ${PREFIX}/share/java For the proposal I mentioned see: http://people.freebsd.org/~znerd/javalibdirs.html I know it's already outdated. It doesn't cover Java-based application since at the time of writing I assumed these could just go into ${PREFIX}... Ernst On Friday 16 August 2002 19:24, Nick Johnson wrote: > Ok, here I go rocking the boat. > > If you look through ports you'll see a ton of p5 modules that neatly drop > themselves in well-known locations. This makes installing dependencies > for perl stuff quite easy. > > Unfortunately, we don't have such a thing for java apps and classes since > these things aren't tightly controlled by anyone, but I think it would be > desirable for us to be able to do dependencies to make installation of > java packages easier. > > So what do folks think about creating some kind of /usr/local/java > hierarchy to manage this stuff? Maybe with some categories similar to the > categories established in ports. I'm thinking of maybe something like > this: > > /usr/local/java/ > /usr/local/java/contrib/packageName/{the whole package} > /usr/local/java/site_java/{category}/{symlinks to jar files in contrib} > /usr/local/java/makeClasspath > > I'll probably do something like this for myself regardless, but it seems > like something like this could be beneficial to everyone, not just me. > > Any thoughts? > > Nick > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message