From owner-freebsd-java@FreeBSD.ORG Wed Dec 17 13:56:19 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 94B6716A4CE for ; Wed, 17 Dec 2003 13:56:19 -0800 (PST) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0828543D1D for ; Wed, 17 Dec 2003 13:56:18 -0800 (PST) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id C836E13623; Thu, 18 Dec 2003 10:56:15 +1300 (NZDT) Date: Thu, 18 Dec 2003 10:56:15 +1300 From: Jonathan Chen To: Albert Shih Message-ID: <20031217215615.GA97632@grimoire.chen.org.nz> References: <20031216184611.L21017@math.jussieu.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031216184611.L21017@math.jussieu.fr> User-Agent: Mutt/1.4.1i cc: freebsd-java@freebsd.org Subject: Re: Ant problem 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, 17 Dec 2003 21:56:19 -0000 On Tue, Dec 16, 2003 at 06:46:11PM +0100, Albert Shih wrote: > Hi, > > I've very strange thing with ant. > > If I use ant install by ports I can't compile lenya (a soft developped by > apache team see http://cocoon.apache.org/lenya/). > > But if I use the same version of ant but install with my little hand, > everthing work fine. And install is just > > tar xvf ant-distrib > > And this problem is independant of the version of JDK I use. The FreeBSD ant port is non-standard. There was a discussion thread that I started some time ago about this, but I don't think anything had been decided on. You can fix this yourself by deleting lines 83-94 on /usr/local/bin/ant. Cheers. -- Jonathan Chen ---------------------------------------------------------------------- The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system.