From owner-freebsd-java@FreeBSD.ORG Thu Sep 11 07:08:47 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 3451816A4BF for ; Thu, 11 Sep 2003 07:08:47 -0700 (PDT) Received: from mail.caraldi.com (caraldi.com [62.212.102.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3084A43FBF for ; Thu, 11 Sep 2003 07:08:44 -0700 (PDT) (envelope-from jbq@caraldi.com) Received: from watt.intra.caraldi.com (watt.intra.caraldi.com [192.168.100.101]) by mail.caraldi.com (Postfix) with ESMTP id 4A6902123 for ; Thu, 11 Sep 2003 16:08:43 +0200 (CEST) Received: by watt.intra.caraldi.com (Postfix, from userid 1001) id 4732484; Thu, 11 Sep 2003 16:10:22 +0200 (CEST) Date: Thu, 11 Sep 2003 16:10:22 +0200 From: Jean-Baptiste Quenot To: java@FreeBSD.org Message-ID: <20030911141020.GB22265@watt.intra.caraldi.com> Mail-Followup-To: java@FreeBSD.org References: <20030909215210.GA5404@grimoire.chen.org.nz> <20030910143418.H34811@puget.esil.univ-mrs.fr> <20030910204830.GA60171@grimoire.chen.org.nz> <200309111110.42838.ernst.dehaan@nl.wanadoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200309111110.42838.ernst.dehaan@nl.wanadoo.com> User-Agent: Mutt/1.5.4i 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 14:08:47 -0000 * Ernst de Haan: > 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? The algorithm/script fragment that adds FreeBSD-specific jars to the classpath is interesting *also* outside of Ant. Why not extract that part and make it a shell script that could even be sourced within Ant if the specific env variable is set? -- Jean-Baptiste Quenot http://caraldi.com/jbq/