Date: Fri, 2 Apr 2004 14:11:53 +0200 From: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr> To: freebsd-java@freebsd.org Subject: Re: tomcat41 producing 28 java daemons Message-ID: <20040402121153.GA63958@arabica.esil.univ-mrs.fr> In-Reply-To: <xzpk711jd5j.fsf@dwp.des.no> References: <JDEJKBDPOMEJIPCEMEJFGEMKCFAA.joe.shevland@e-wise.com> <xzpk711jd5j.fsf@dwp.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 31, 2004 at 04:37:28PM +0200, Dag-Erling Smrgrav wrote: > "Joe Shevland" <joe.shevland@e-wise.com> writes: > > I personally feel better following some sort of BSD scheme with libraries, > > so I'm proposing all shared Java libraries get installed under: > > > > /usr/lib/java/* (and here I show neophyteness, should that be > > /usr/local/java/lib/* or something) > > The correct location is /usr/local/share/java/classes/*, aka > ${JAVAJARDIR} in ports. Speaking of that, maybe this would be a good time to review the ports tree to detect Java ports that do not comply with this common scheme. I have started to submit PRs for ports that do not use the JAVAJARDIR macro directly but maybe it would be nice if we had a central point where a common TODO list could be implemented... I was also thinking of some INSTALL_JAR macro in bsd.java.mk to automatically install JARs in the right place (and perform necessary tasks, of which I can't of yet) and display information on how to include the JAR in your classpath. Actually, something that would address the issues in: http://www.freebsd.org/cgi/query-pr.cgi?pr=56928 Another (weird) idea: would it be possible for portlint to produce warnings when a .jar file is in the pkg-plist but not located in JAVAJARDIR ? In the same time, a statement in the porter's handbook regarding all of that would be a good idea. AFAIK the handbook is written in DocBook, so I may have a try at this one in the near future. English is not my main language though... and the SGML flavor of DocBook is not my prefered one (compared to XML). I will wait for the commit of bsd.java.mk 2.0 and produce the Java section of the porter's handbook if I've got spare time by this time. Herve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040402121153.GA63958>