From owner-freebsd-java@FreeBSD.ORG Fri Apr 2 04:11:56 2004 Return-Path: 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 ABD7F16A4DF for ; Fri, 2 Apr 2004 04:11:56 -0800 (PST) Received: from arabica.esil.univ-mrs.fr (arabica.esil.univ-mrs.fr [139.124.41.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F26D43D46 for ; Fri, 2 Apr 2004 04:11:55 -0800 (PST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (localhost.esil.univ-mrs.fr [127.0.0.1])i32CBsDN064026 for ; Fri, 2 Apr 2004 14:11:54 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: (from rv@localhost) by arabica.esil.univ-mrs.fr (8.12.10/8.12.10/Submit) id i32CBrMY064025 for freebsd-java@freebsd.org; Fri, 2 Apr 2004 14:11:53 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) X-Authentication-Warning: arabica.esil.univ-mrs.fr: rv set sender to herve.quiroz@esil.univ-mrs.fr using -f Date: Fri, 2 Apr 2004 14:11:53 +0200 From: Herve Quiroz To: freebsd-java@freebsd.org Message-ID: <20040402121153.GA63958@arabica.esil.univ-mrs.fr> Mail-Followup-To: freebsd-java@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Subject: Re: tomcat41 producing 28 java daemons X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2004 12:11:56 -0000 On Wed, Mar 31, 2004 at 04:37:28PM +0200, Dag-Erling Smrgrav wrote: > "Joe Shevland" 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