Date: Thu, 13 Jun 2002 13:49:20 +0200 (CEST) From: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr> To: Ernst de Haan <znerd@FreeBSD.ORG> Cc: java@FreeBSD.ORG Subject: Re: Request for review: Standardising Java library directory locations Message-ID: <20020613122027.B9053-100000@puget.esil.univ-mrs.fr> In-Reply-To: <200205101311.PAA08481@smtp.hccnet.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020613122027.B9053-100000>