On Fri, 2005-01-07 at 13:42, Klaus Thorup wrote:
> Currently I am trying to use ANT 1.6.2 with Xalan 2.6.0 and Xerces
> 2.6.2. The $ANT_HOME/lib directory contains all the appropriate jar
> files xalan.jar, xml-apis.jar and xercesImpl.jar.
> 
> However when running the junitreport task with the -verbose flag is
> still this in the output:
> 
> [junitreport] Using org.apache.xalan.processor Xalan Java 2.4.1
> 
> This is also confirmed when running the task:
> 
> <java classname="org.apache.xalan.xslt.EnvironmentCheck"/>
> 
> Which gives:
> 
> version.DOM.draftlevel=2.0fd
> java.class.path=D:\ant\1.6.2\lib\xalan.jar;D:\ant\1.6.2\lib\xercesImpl.j
> ar;D:\ant\1.6.2\lib\xml-apis.jar;...
> version.JAXP=1.1
> java.ext.dirs=D:\J2sdk-1.4.2_05\jre\lib\ext
> version.xerces2=Xerces-J 2.6.2
> version.xerces1=not-present
> version.xalan2_2=Xalan Java 2.4.1
> version.xalan1=not-present
> version.ant=Apache Ant version 1.6.2 compiled on July 16 2004
> 
> I have tried putting the jars into the $JAVA_HOME/jre/lib/ext directory
> and tried this on Windows on Linux machines to no avilable - the Xalan
> upgrade does not seem to get registered.
> 
> I am on the verge of madness - can anyone help???
> 
> Klaus Thorup
> Build Engineer
> e-m: [EMAIL PROTECTED]
> The Sporting Exchange Ltd / Betfair.com
> Yahoo! messenger - klaus_thorup
> www.betfair.com
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Xalan is included in the 1.4 JDK, so this is where the earlier version
is located. I think it's part of your rt.jar. 

http://www.cafeconleche.org/books/xmljava/chapters/ch17s02.html

I don't know if there are better ways to override it?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to