From owner-freebsd-java Thu Jun 13 4:44:39 2002 Delivered-To: freebsd-java@freebsd.org Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by hub.freebsd.org (Postfix) with ESMTP id 16FDB37B428; Thu, 13 Jun 2002 04:43:48 -0700 (PDT) Received: from localhost (rv@localhost) by puget.esil.univ-mrs.fr (8.11.6/8.11.6) with ESMTP id g5DBnKw16775; Thu, 13 Jun 2002 13:49:21 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) X-Authentication-Warning: puget.esil.univ-mrs.fr: rv owned process doing -bs Date: Thu, 13 Jun 2002 13:49:20 +0200 (CEST) From: Herve Quiroz X-X-Sender: rv@puget.esil.univ-mrs.fr To: Ernst de Haan Cc: java@FreeBSD.ORG Subject: Re: Request for review: Standardising Java library directory locations In-Reply-To: <200205101311.PAA08481@smtp.hccnet.nl> Message-ID: <20020613122027.B9053-100000@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE 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 Hi Ernst, I've thought of your proposal those last weeks and still I haven't found any conclusive solution... Regarding the docs/apidocs/examples in different paths, I am thinking of the LaTeX texmf tree. Indeed, for LaTeX, everything is stored under the $PREFIX/texmf directory, including styles (->java jars), config files, tool docs (->java docs), styles docs(->java apidocs), and examples (->java examples). Some may argue it is an single port so it has its own directory and I would agree... But the point is : LaTeX users get an quick and easy way to locate everything related to LaTeX. I am not in any way saying this approach is the best on just better. In fact, I don't even know myself which one I would choose. So far IMHO there are 3 ways for the java port hierarchy : (1) eveyrthing under the same directory : $JAVAPREFIX/lib/$JAVALIBNAME.jar : JAR file $JAVAPREFIX/docs/$JAVALIBNAME/ : docs $JAVAPREFIX/docs/$JAVALIBNAME/apidoc/ : apidocs $JAVAPREFIX/examples/$JAVALIBNAME/ : examples $JAVAPREFIX/src/$JAVALIBNAME/ : sources (2) everything under the same dir but in its own tree : $JAVAPREFIX/$JAVALIBNAME/lib/*.jar : JARs $JAVAPREFIX/$JAVALIBNAME/docs : docs $JAVAPREFIX/$JAVALIBNAME/apidocs : apidocs $JAVAPREFIX/$JAVALIBNAME/src : sources $JAVAPREFIX/$JAVALIBNAME/examples : examples (3) using the standard (not java) hierarchy : Your current proposal. IMHO, this one best complies with hier(7) regarding "architecture-independent files" and "miscellaneous documentation"... Last point, if you take a closer look at where other non-java ports store their docs/examples/"architecture-independent files", you may notice there is no universal way so it is quite difficult for java ports to match the existing. That said, I have in mind that this mail does not bring any new idea to the community but there has been no post on the topic for the last days. It would be nice if people could bring arguments in favor or against any of the alternative so you can make the modifications to unify the java ports. BTW, nice you have unified the JDK port names. All that and also the coming Hotspot JVM will have FreeBSD the best platform for Java developers. Regards, Herv=E9 On Fri, 10 May 2002, Ernst de Haan wrote: > Hi all, > > Please review the following proposal for standardising Java library > installation directories: > > http://people.freebsd.org/~znerd/javalibdirs.html > > Kind regards, > > Ernst > > 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