From owner-freebsd-java Tue Aug 27 9:25:31 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 1EC6137B401; Tue, 27 Aug 2002 09:25:27 -0700 (PDT) Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE6C743E6A; Tue, 27 Aug 2002 09:25:25 -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 harrier.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17jj9b-00065D-00; Tue, 27 Aug 2002 09:25:19 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Dylan Carlson Reply-To: absinthe@pobox.com To: Ernst de Haan , Calvin Varney Subject: Re: Port/package guidelines (Ant) Date: Tue, 27 Aug 2002 12:25:40 -0400 User-Agent: KMail/1.4.2 Cc: freebsd-java@FreeBSD.ORG References: <200208170958.14422.absinthe@pobox.com> <200208270601.27637.absinthe@pobox.com> <200208271220.18256.znerd@FreeBSD.org> In-Reply-To: <200208271220.18256.znerd@FreeBSD.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200208271225.40211.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:20am, Ernst de Haan wrote: > It's trivial, *if* we knoiw exactly what we want. I intend to generate the > build.xml file using XSLT and I'm an XSLT Wizard(TM) by now :) I'd say "hooray" as long as it's as simple as setting a few vars in Makefile which get passed into the build.xml. What those vars should be, I haven't given any thought to. > > "doc-install" target for those who want the JavaDocs built and installed. > > Other than that I can't think of any others (it may be too early in the > > day yet). > > Then we still need to pass the installation directory for the docs, don't > we? Or how would we determine this in the build file? Nope. Docs should be put into ${DOCSDIR} per our previous conversation. If the user really wants them in a different location they can override that in the Makefile or simply copy/move them out after install. I see the only exception being JDK/SDK API docs, which I think should go into the directory where the JDK/SDK resides (e.g., $JAVA_HOME/doc/...) but that's probably just my opinion. > > Yeah, good point! We could even have -cvs ports in addition to the existing > -devel ports :-) We should absolutely look to doing that. If someone is using a -devel port they are specifically looking for bleeding edge code, and CVS is as good as it gets. > > Should the sources go below ${PREFIX}/src ? Need to check hier(7)... > hier(7) unfortunately doesn't address /usr/local at all, which is why it's a little clusterfscked. If I had to think about it though, ${PREFIX}/src seems logical to me. > > Hmm, you're probably right. But then we need to pass a lot of variables to > the Ant build system. Perhaps either using -Dpropertyname=value or by > generating a .properties file... > Cleaner to do a .properties file, that way if something goes wrong during the build and has to do with bad properties, we can have people copy the file into the PR. Otherwise the source of the problem might get lost in the scroll during the build. -- Dylan Carlson [absinthe@pobox.com] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message