From owner-freebsd-java@FreeBSD.ORG Mon Apr 5 01:29:12 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 15E4B16A4CE for ; Mon, 5 Apr 2004 01:29:12 -0700 (PDT) Received: from svbcf02.win.tue.nl (svbcf02.win.tue.nl [131.155.71.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id B851643D1F for ; Mon, 5 Apr 2004 01:29:11 -0700 (PDT) (envelope-from mriem@manorrock.org) Received: from SENSEI (dyn359.win.tue.nl [131.155.71.41]) by svbcf02.win.tue.nl (Postfix) with ESMTP id 5B7758C16; Mon, 5 Apr 2004 10:29:10 +0200 (MET DST) From: "Manfred Riem" To: "'Jean-Baptiste Quenot'" , Date: Mon, 5 Apr 2004 10:29:08 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <20040405071230.GA23661@anyware12.anyware> X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcQa3ZTQegswyINOQcqmAm9tiE7arQACk3wg Message-Id: <20040405082910.5B7758C16@svbcf02.win.tue.nl> Subject: RE: Location of Java libraries [Was: tomcat41 producing 28 javadaemons] 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: Mon, 05 Apr 2004 08:29:12 -0000 Hi all, > > > 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'm against the warnings of portlint if the packing list > contains jars outside of the location: Java > applications often come with their own jars, sometimes > it is difficult or impossible to customize the location > of the required libraries. Also, when installing a web > application, the location is hardcoded to WEB-INF/lib. I concur with this observation. So instead I would suggest to follow the normal convention, eg. just packaging them using /usr/local/. This way you can decide yourself if you want to have a common JAR / .class directory. Especially because some of the products might use a conflicting set of JAR files. Regards, Manfred Riem mriem@win.tue.nl http://www.riaca.win.tue.nl/