From owner-freebsd-java Tue Aug 27 9:15:24 2002 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 BDE4937B401; Tue, 27 Aug 2002 09:15:20 -0700 (PDT) Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7169143E42; Tue, 27 Aug 2002 09:15:20 -0700 (PDT) (envelope-from absinthe@pobox.com) Received: from dhcp068-64-151-24.nt01-c4.cpe.charter-ne.com ([24.151.64.68] helo=laredo.retrovertigo.com) by avocet.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17jizq-0004cZ-00; Tue, 27 Aug 2002 09:15:14 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Dylan Carlson Reply-To: absinthe@pobox.com To: Ernst de Haan , java@FreeBSD.org Subject: Re: Using Ant (continued) Date: Tue, 27 Aug 2002 12:15:35 -0400 User-Agent: KMail/1.4.2 References: <200208270934.49151.znerd@FreeBSD.org> <200208270601.41134.absinthe@pobox.com> <200208271215.16678.znerd@FreeBSD.org> In-Reply-To: <200208271215.16678.znerd@FreeBSD.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200208271215.35187.absinthe@pobox.com> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tuesday 27 August 2002 06:15am, Ernst de Haan wrote: > > Not a big fan of symlinks myself, but I otherwise agree. :) > > So perhaps we should copy the file? Usually I prefer symlinking over > copying of files, but I know symlinks tend to cause problems on NFS > partitions and so. The problem with symlinks is when someone removes the source file, the symlink stays. Not that this is a major problem, I just think it's messy. All JAR's built out of ports should be in ${PREFIX}/lib/java. There isn't any need to put them in different locations. Only non-JAR classfiles will be in subdirs by ${PORTNAME}. That makes it predictable, no need to symlink. Even if a dependency is installed elsewhere, we can hack the "build.xml" one-off to look for wherever that exception is... and try to persuade the maintainer to follow the java port spec. Or if we want to get pedantic about it, we can do a 'find' in ${PREFIX} to locate all the JAR and class files and format it into a properties file that Ant reads and executes on. :) -- Dylan Carlson [absinthe@pobox.com] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message