From owner-freebsd-java@FreeBSD.ORG Fri May 2 02:54:12 2003 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 B616837B401 for ; Fri, 2 May 2003 02:54:12 -0700 (PDT) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5BA643F85 for ; Fri, 2 May 2003 02:54:11 -0700 (PDT) (envelope-from ernst@zaphod.euronet.nl) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.9/8.12.9) with ESMTP id h427PD4G083382; Fri, 2 May 2003 09:25:13 +0200 (CEST) (envelope-from ernst@zaphod.euronet.nl) Received: from localhost (localhost [[UNIX: localhost]]) by zaphod.euronet.nl (8.12.9/8.12.9/Submit) id h427PDxT083381; Fri, 2 May 2003 09:25:13 +0200 (CEST) From: Ernst de Haan Organization: Wanadoo Nederland B.V. To: Herve Quiroz , freebsd-java@FreeBSD.ORG Date: Fri, 2 May 2003 09:25:12 +0200 User-Agent: KMail/1.5.1 References: <20030501190202.S93849@puget.esil.univ-mrs.fr> In-Reply-To: <20030501190202.S93849@puget.esil.univ-mrs.fr> X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200305020925.12974.ernst.dehaan@nl.wanadoo.com> Subject: Re: bsd.java.mk: USE_ANT 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: Fri, 02 May 2003 09:54:13 -0000 Sounds like a good proposal, Herve! Anyone else have any comments? Ernst On Thursday 01 May 2003 19:09, Herve Quiroz wrote: > Hi, > > > We discussed this point long time ago but I can't remember we did agree > on some way of implementing Ant support in bsd.java.mk. > > Most ports that build using ant do the following: > > - Set the Ant build dependency > > - Set the Ant executable (ANT) > > - Set the Ant targets (ANT_TARGET) > > - Possibly set the Ant options (ANT_ARGS) > > And then in the do-build: > > ${ANT} [${ANT_ARGS}] ${ANT_TARGET} > > What if we just put this "limited" ant support in bsd.java.mk ? > > So you just have to do the following: > > USE_ANT=yes > ANT_ARGS+= -Dnoget=yes > ANT_TARGET= jar > .if defined(NOPORTDOCS) > ANT_TARGET+= docs > .else > ANT_TARGET+= docs > .endif > > What do you think of it ? > > Regards, > > > Herve > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"