From owner-freebsd-java@FreeBSD.ORG Thu Oct 7 14:34:49 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 62CEE16A4CE for ; Thu, 7 Oct 2004 14:34:49 +0000 (GMT) Received: from arabica.esil.univ-mrs.fr (arabica.esil.univ-mrs.fr [139.124.41.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id C65C043D41 for ; Thu, 7 Oct 2004 14:34:48 +0000 (GMT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (localhost.esil.univ-mrs.fr [127.0.0.1])i97EYerC014069; Thu, 7 Oct 2004 16:34:40 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: (from rv@localhost) by arabica.esil.univ-mrs.fr (8.13.1/8.12.10/Submit) id i97EYYY1014068; Thu, 7 Oct 2004 16:34:34 +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: Thu, 7 Oct 2004 16:34:34 +0200 From: Herve Quiroz To: "Manfred N. Riem" Message-ID: <20041007143434.GA14005@arabica.esil.univ-mrs.fr> Mail-Followup-To: "Manfred N. Riem" , java@freebsd.org References: <20041007141757.703AC43D2D@mx1.FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041007141757.703AC43D2D@mx1.FreeBSD.org> User-Agent: Mutt/1.4.2.1i cc: java@freebsd.org Subject: Re: Questions about porting a Java application 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: Thu, 07 Oct 2004 14:34:49 -0000 Manfred, I don't know if the INSTALLDIR/doc is mandatory, but I'll assume it's not. Hence, I would do the following: - install 'INSTALL-DIR/bin/*' in ${JAVASHAREDIR}/${PORTNAME}/bin/ - install 'INSTALL-DIR/lib/*' in ${JAVASHAREDIR}/${PORTNAME}/lib/ - install 'INSTALL-DIR/*' in ${JAVASHAREDIR}/${PORTNAME}/ - install 'INSTALL-DIR/doc/*' in ${DOCSDIR}/ - symlink ${JAVASHAREDIR}/${PORTNAME}/bin/ in ${PREFIX}/bin. I'm not sure about the last point though. Maybe it's even more simple to install directly in ${PREFIX}/bin if the application allows it. Herve On Thu, Oct 07, 2004 at 09:17:58AM -0500, Manfred N. Riem wrote: > Hi all, > > I have a Java application that I want to port and I have read the better > part of [1]. The application that I want to port unfortunately has a > specific structure that does NOT make it possible to adhere to the > practices. What is the general thing to do in such a case? > > As far as I can tell from the Win32 starter script for the application it > insists on an application > directory with the following structure > > INSTALL-DIR > | > +---- bin > | > +---- doc > | > +---- lib > > Any advice about this? > > Kind regards, > Manfred Riem > mriem@manorrock.org > > [1] Porter's Handbook - Using Java - Best practices > http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/using-java > .html#JAVA-BEST-PRACTICES