Date: Tue, 6 Jan 2004 08:19:20 +0100 From: Ernst de Haan <ernst.dehaan@nl.wanadoo.com> To: Jonathan Chen <jonc@chen.org.nz>, freebsd-java@freebsd.org Subject: Re: ant script annoyances Message-ID: <200401060819.20248.ernst.dehaan@nl.wanadoo.com> In-Reply-To: <20040105203602.GB5706@grimoire.chen.org.nz> References: <20030909215210.GA5404@grimoire.chen.org.nz> <20040105174125.GB732@andouillette.esil.univ-mrs.fr> <20040105203602.GB5706@grimoire.chen.org.nz>
next in thread | previous in thread | raw e-mail | index | archive | help
Jonathan and all, A patch has been committed. Indeed the 'normal' Ant behaviour is now the default. An environment setting can be used to enable the 'non-compatible' behaviour, the inclusion of all shared JARs. I've called this variable ANT_INCLUDE_SHARED_JARS. It's longish, but at least it covers the load... If this variable is set to YES (case-sensitive!) then the FreeBSD-specific behaviour is enabled. The port has been updated to 1.6.0_1. If you can't wait for the CVSup mirrors to pick this up, download the following patch: http://people.FreeBSD.org/~znerd/apache-ant-1.6.0_1.diff You can use the following to test the port once installed: http://people.FreeBSD.org/~znerd/build.xml http://people.FreeBSD.org/~znerd/Test.java Once you've installed the 1.6.0_1 port, put the build.xml and the Test.java in one directory and execute 'ant -verbose' twice. Once with the environment variable ANT_INCLUDE_SHARED_JARS set to YES, and once with that variable unset. You should be able to see the difference in CLASSPATH. See also: http://www.freshports.org/devel/apache-ant/ Ernst On maandag 5 januari 2004 21:36, Jonathan Chen wrote: > On Mon, Jan 05, 2004 at 06:41:25PM +0100, Herve Quiroz wrote: > > Hi all! > > > > I'm back from holyday and after a look at my personal TODO list I found > > this issue still opened. Many things have been said on the subject and > > I remember we came quite close to a solution. Unfortunately nothing has > > been done yet. So I will read this thread again and see if we did agree > > on some point in which case I will code it... unless Ernst already > > modified apache-ant BSD run script in port version 1.6.0. > > The apache-ant script is still the same (I still delete the lines off > my local /usr/local/bin/ant). My recollection of the thread was that a > few of you wanted to keep the original functionality and wanted the > option to switch between the vanilla-ant and freebsd-enhanced-ant. > > My personal preference to is to have a "USE_FREEBSD_EXTENSIONS=no" in > the Makefile of the port, where the installer can redefine to "yes" if > they wish to use the FreeBSD-enhanced version. It's better to have just > one standard (one way or the other) version installed on a box than to > have too many features put into what should be just a simple wrapper > script. > > Cheers.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401060819.20248.ernst.dehaan>