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

next in thread | previous in thread | raw e-mail | index | archive | help
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.
-- 
Jonathan Chen <jonc@chen.org.nz>
----------------------------------------------------------------------
                      Build a man a fire, and he'll be warm for a day.
        Set a man on fire, and he'll be warm for the rest of his life.



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