ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin van Dijken <mvdij...@madocke.nl>
Subject Style Task can't seem to find the xalan jar files
Date Mon, 08 Jul 2002 13:09:55 GMT
Hi all,

I've been using Ant to run xalan on the web.xml of my java 
web-application to create a nice help file. This works fine for me as 
long as I have xalan.jar, xercesImpl.jar and xml-apis.jar in my 
ANT_HOME/lib directory. Now for this project, I needed to change 
something, and had to put these three files in a different directory. 
I'd read I could use a classpathref to make sure the processor was still 
loaded, so I created this:

         <path id="libPath">
             <fileset dir="${docPro}/lib">
                 <include name="**/*.jar"/>
             </fileset>
         </path>
         <echo message="${libPath}"/>
         <style force="true" in="${webXml}" out="${docDir}/web_big.html"
               style="${docPro}/xsl/web.xsl" classpathref="libPath" 
processor="trax">
         </style>

When I run this stuff using ant -debug, build fails and I get a few 
lines as below my message. These lines seem to mean that my classpathref 
is correct, and the various jarfiles are found. Build does fail however.

I've also tried the above using processor="xalan" but that shouldn't be 
necessary since I've got some very recent Xalan-jarfiles and they're 
trax compatible.

Any help would be greatly appreciated.

Martin van Dijken
mvdijken@madocke.nl
Madocke Interactive Media

A little excerpt from the output of running ant with -debug:

FileSet: Setup file scanner in dir F:\Projects\documentation\DocPro\lib 
with patternSet{ includes: [**/*.jar] excludes: [] }
Adding reference: libPath -> 
F:\Projects\documentation\DocPro\lib\optional.jar;F:\Projects\documentation\DocPro\lib\xalan.jar;F:\Projects\documentation\DocPro\lib\xercesImpl.jar;F:\Projects\documentation\DocPro\lib\xml-apis.jar
FileSet: Setup file scanner in dir F:\Projects\documentation\DocPro\lib 
with patternSet{ includes: [**/*.jar] excludes: [] }
Class org.apache.tools.ant.taskdefs.optional.TraXLiaison loaded from 
parent loader

BUILD FAILED

javax.xml.transform.TransformerFactoryConfigurationError: Provider 
org.apache.xalan.processor.TransformerFactoryImpl not found


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message