From owner-freebsd-java@FreeBSD.ORG Wed Sep 10 13:48:55 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 2E11416A4C1 for ; Wed, 10 Sep 2003 13:48:55 -0700 (PDT) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BB1043F3F for ; Wed, 10 Sep 2003 13:48:53 -0700 (PDT) (envelope-from jonc@chen.org.nz) Received: from grimoire.chen.org.nz (localhost [127.0.0.1]) by chen.org.nz (8.12.9/8.12.9) with ESMTP id h8AKmWIW060290; Thu, 11 Sep 2003 08:48:32 +1200 (NZST) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.9/8.12.9/Submit) id h8AKmUm8060286; Thu, 11 Sep 2003 08:48:30 +1200 (NZST) (envelope-from jonc) Date: Thu, 11 Sep 2003 08:48:30 +1200 From: Jonathan Chen To: Herve Quiroz Message-ID: <20030910204830.GA60171@grimoire.chen.org.nz> References: <20030909215210.GA5404@grimoire.chen.org.nz> <200309100913.34213.ernst.dehaan@nl.wanadoo.com> <20030910143418.H34811@puget.esil.univ-mrs.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030910143418.H34811@puget.esil.univ-mrs.fr> User-Agent: Mutt/1.4.1i cc: Ernst de Haan cc: freebsd-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: Wed, 10 Sep 2003 20:48:55 -0000 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. -- Jonathan Chen ---------------------------------------------------------------------- Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.