ant script annoyances

Jonathan Chen jonc at chen.org.nz
Wed Sep 10 13:48:55 PDT 2003


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 at 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.


More information about the freebsd-java mailing list