Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 2003 11:10:42 +0200
From:      Ernst de Haan <ernst.dehaan@nl.wanadoo.com>
To:        Jonathan Chen <jonc@chen.org.nz>, Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
Cc:        java@FreeBSD.org
Subject:   Re: ant script annoyances
Message-ID:  <200309111110.42838.ernst.dehaan@nl.wanadoo.com>
In-Reply-To: <20030910204830.GA60171@grimoire.chen.org.nz>
References:  <20030909215210.GA5404@grimoire.chen.org.nz> <20030910143418.H34811@puget.esil.univ-mrs.fr> <20030910204830.GA60171@grimoire.chen.org.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
Jonathan, Herve,

Okay, if this behaviour is really causing Ant to behave incompatible on 
FreeBSD, which it is, then we should rollback. We all agree on this.

On the other hand, it must be _very_ easy to keep the current behaviour, if 
a person would like this. (S)he should only have to make a one-time change 
to get this behaviour for a single account or for all accounts on the 
machine. Do you agree?

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?

Ernst

On woensdag 10 september 2003 22:48, Jonathan Chen wrote:
> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309111110.42838.ernst.dehaan>