From owner-freebsd-java@FreeBSD.ORG Thu Sep 11 07:05:07 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 29A3716A4BF for ; Thu, 11 Sep 2003 07:05:07 -0700 (PDT) Received: from mail.caraldi.com (caraldi.com [62.212.102.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDC6B43FEC for ; Thu, 11 Sep 2003 07:05:05 -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 062F9208E for ; Thu, 11 Sep 2003 16:05:03 +0200 (CEST) Received: by watt.intra.caraldi.com (Postfix, from userid 1001) id 13E3F84; Thu, 11 Sep 2003 16:06:43 +0200 (CEST) Date: Thu, 11 Sep 2003 16:06:42 +0200 From: Jean-Baptiste Quenot To: java@FreeBSD.org Message-ID: <20030911140640.GA22265@watt.intra.caraldi.com> Mail-Followup-To: java@FreeBSD.org References: <20030909215210.GA5404@grimoire.chen.org.nz> <20030910204830.GA60171@grimoire.chen.org.nz> <200309111110.42838.ernst.dehaan@nl.wanadoo.com> <20030911151218.J23585@puget.esil.univ-mrs.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030911151218.J23585@puget.esil.univ-mrs.fr> 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:05:07 -0000 * Herve Quiroz: > Although I was quite fond of the current behaviour when you > implemented it, I just faced the problem last night and I found it > very annoying. Just a quick note to say that yes, the behaviour of automatically adding jars to the classpath is great, but not in the scope of Ant. It could just be a shell script that one could use independently by sourcing /usr/local/share/java/setup-classpath.sh (let's call it like that) before invoking ant. I use my own algorithm for setting up the classpath, but this has definitely *nothing* to do with ant. Every project should have a copy of the libs IMHO. Ant should not rely on FreeBSD's installed classes for proper function. It is not portable that way. The magical script fragment should only be considered *convenience* shell function, but should not be included in /usr/local/bin/ant. Best regards, -- Jean-Baptiste Quenot http://caraldi.com/jbq/