From owner-freebsd-java Tue Aug 27 3:20:14 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 04D9837B400 for ; Tue, 27 Aug 2002 03:20:09 -0700 (PDT) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1503943E65 for ; Tue, 27 Aug 2002 03:20:08 -0700 (PDT) (envelope-from ernst@zaphod.euronet.nl) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.5/8.12.5) with ESMTP id g7RAKJYU045139; Tue, 27 Aug 2002 12:20:19 +0200 (CEST) (envelope-from ernst@zaphod.euronet.nl) Received: (from ernst@localhost) by zaphod.euronet.nl (8.12.5/8.12.5/Submit) id g7RAKIjg045138; Tue, 27 Aug 2002 12:20:18 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan To: absinthe@pobox.com, Calvin Varney Subject: Re: Port/package guidelines (Ant) Date: Tue, 27 Aug 2002 12:20:18 +0200 User-Agent: KMail/1.4.3 Cc: freebsd-java@FreeBSD.ORG References: <200208170958.14422.absinthe@pobox.com> <200208262209.AAA07190@smtp.hccnet.nl> <200208270601.27637.absinthe@pobox.com> In-Reply-To: <200208270601.27637.absinthe@pobox.com> X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200208271220.18256.znerd@FreeBSD.org> 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 > Short-term, probably just ship it with a static build.xml. Then I'd say > once we get sophisticated enough with Ant, we can build an XML out of > bsd.java.mk based on variables set in the Makefile. Unless you think > it's trivial enough to do the latter now. 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 :) > "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? > One thing not mentioned about Ant (often) is that it works great with > CVS. I was thinking that we could make "-devel" ports pull straight from > CVS when available, instead of being locked in to a particular version. Yeah, good point! We could even have -cvs ports in addition to the existing -devel ports :-) > > o How do we install any JAR files, source code, Javadoc API > > documentation, etc in a standard manner? > > Destinations for everything has been defined based on our earlier > discussions _except_ for source code. I am assuming any source would be > ${PREFIX}/src/${PORTNAME}/${PORTVERSION}. Should the sources go below ${PREFIX}/src ? Need to check hier(7)... > The real question is whether we want to have Ant run dependency checking > instead of the pkg system. I think we do, my opinion is to turn over as > much of the functionality to Ant as possible. The more it does the more > effective it becomes. 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... Ernst -- Ernst de Haan EuroNet Internet B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message