Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Ant 1.6.3+ and JunitReport

Ant 1.6.3+ and JunitReport

2005-06-23       - By Stefan Bodewig
Reply:     1     2     3     4  

On Wed, 22 Jun 2005, Stephen Nesbitt <snesbitt@(protected)> wrote:

> One question - we are finding that placing Xalan 2 into ANT_LIB
> requires that we change the name from xalan.jar to ant-xalan.jar to
> ensure that it is placed on the classpath prior to ant-xalan1.jar.
>
> Is this correct?

Not at all.

ant-xalan1.jar contains Ant classes that require Xalan 1.x at runtime,
it doesn't contain Xalan itself.

There are no classes in Ant that require Xalan 2.x specifically, Ant
uses TraX and those classes are in ant-trax.jar.

You probably don't even need to ensure that Xalan 2.x is in front of
Xalan 1.x in your classpath since Ant should prefer Xalan 2 over 1.
But I must admit that I've never tried to run Ant with both of them on
the CLASSPATH at the same time.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.