ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glenn McAllister <>
Subject Re: [PATCH] add JAXP jars to classpath if possible
Date Fri, 20 Jul 2001 17:55:00 GMT wrote:

> I just did a clean install of Ant.  I like the concept of having an
> executable "ant" installed in $ANT_HOME/bin.  However, it does not
> work right out of the box.  It depends on the user having JAXP JARs in
> their classpath.

Err... the latest (1.4alpha) binary and source distribution have the JAXP 1.1
jars in the lib directory, which will get picked up automatically when you run
ant.  The 1.3 binary and source distributions have the JAXP 1.0.1 jars in the lib

What exactly do you mean when you say you did a "clean install" of Ant?

> I'd like to propose that the "ant" script look for an environment
> variable called "JAXP_HOME" and, if it's defined, add its "jaxp.jar"
> and "crimson.jar" to LOCALCLASSPATH.

And what happens when the next version of JAXP comes along and crimson.jar gets
named blah.jar?  The current method works better by my way of thinking.

Glenn McAllister
SOMA Networks, Inc.

View raw message