From owner-freebsd-java@FreeBSD.ORG Thu Sep 11 02:10:42 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 4BCA716A4BF for ; Thu, 11 Sep 2003 02:10:42 -0700 (PDT) Received: from smtp0.euronet.nl (smtp0.euronet.nl [194.134.35.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BCBF43FA3 for ; Thu, 11 Sep 2003 02:10:41 -0700 (PDT) (envelope-from ernst.dehaan@nl.wanadoo.com) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by smtp0.euronet.nl (Postfix) with ESMTP id 7B48A24B65; Thu, 11 Sep 2003 11:10:38 +0200 (MEST) From: Ernst de Haan Organization: Wanadoo Nederland B.V. To: Jonathan Chen , Herve Quiroz Date: Thu, 11 Sep 2003 11:10:42 +0200 User-Agent: KMail/1.5.2 References: <20030909215210.GA5404@grimoire.chen.org.nz> <20030910143418.H34811@puget.esil.univ-mrs.fr> <20030910204830.GA60171@grimoire.chen.org.nz> In-Reply-To: <20030910204830.GA60171@grimoire.chen.org.nz> 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: <200309111110.42838.ernst.dehaan@nl.wanadoo.com> cc: java@FreeBSD.org Subject: Re: ant script annoyances 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, 11 Sep 2003 09:10:42 -0000 Jonathan, Herve, Okay, if this behaviour is really causing Ant to behave incompatible on FreeBSD, which it is, then we should rollback. We all agree on this. On the other hand, it must be _very_ easy to keep the current behaviour, if a person would like this. (S)he should only have to make a one-time change to get this behaviour for a single account or for all accounts on the machine. Do you agree? The easiest way to implement this, is to have a single environment variable that enables this behaviour if set. A person can then set this in /etc/profile or in ~/.profile. I know this is notas nifty as an ant-config command, but it's simple and effective. What do you think of this alternative? Ernst On woensdag 10 september 2003 22:48, Jonathan Chen wrote: > On Wed, Sep 10, 2003 at 03:15:51PM +0200, Herve Quiroz wrote: > > [..] > > > IMHO the solution would be to revert to the former 'ant' behaviour and > > use a new variable to specify any addition to the standard classpath. > > Then build some shell tool to include all jars from ${JAVASHAREDIR} in > > the classpath (or any other). > > > > The 'ant' executable (I mean the shell script) would look for some > > different variable (e.g. ANT_CLASSPATH) to be included in the > > CLASSPATH. The ANT_CLASSPATH would replace LOCALCLASSPATH, whose name > > is not implicit enough IMHO if it has to be used from outside of the > > ant shell script. > > [.. rest-of-explanation snipped ..] > > I like this solution the best because: > > 1. ant will behave the same as it should on *all* platforms. > 2. if anyone wants a FreeBSD tweak, it can be done easily. > > Cheers.