[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Apache resolver library not found
I already posted to the Ant forum, but thought I’d try
the DocBook forum in case anyone tripped over the same problem. I’m trying to update an Ant macro. I’m trying to
use Saxon 6.5.5 with the Apache Commons Resolver, which I’ve specified in
my classpath shown below. When I run this macro, I get the following error: Apache resolver library not found,
internal resolver will be used I don’t want to use the internal resolver. I want to
use Apache Commons Resolver specified in the classpath. Hoping that someone can
tell me what I’m doing wrong. Sorry, I’m an Ant newbie. Regards, Jeff Powanda
<path id="saxon.classpath">
<pathelement
location="${xslt-processor-classpath}"/>
<pathelement location="${xercesImpl.jar}"/>
<pathelement location="${xml-apis.jar}"/>
<pathelement location="${tools.dir}/resolver"/>
<pathelement
location="${tools.dir}/resolver/resolver.jar"/>
</path>
<macrodef name="saxon">
<attribute name="input"/>
<attribute name="output"/>
<attribute name="style"/>
<sequential>
<java
classname="com.icl.saxon.StyleSheet" fork="true"
dir="${basedir}" classpathref="saxon.classpath">
<sysproperty key="javax.xml.parsers.DocumentBuilderFactory"
value="org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"/>
<sysproperty key="javax.xml.parsers.SAXParserFactory"
value="org.apache.xerces.jaxp.SAXParserFactoryImpl"/>
<sysproperty
key="org.apache.xerces.xni.parser.XMLParserConfiguration"
value="org.apache.xerces.parsers.XIncludeParserConfiguration"/>
<arg line="-x
org.apache.xml.resolver.tools.ResolvingXMLReader"/>
<arg line="-y
org.apache.xml.resolver.tools.ResolvingXMLReader"/>
<arg line="-r
org.apache.xml.resolver.tools.CatalogResolver"/>
<arg line="-o
@{output}"/>
<arg
value="@{input}"/>
<arg
value="@{style}"/>
</java>
</sequential>
</macrodef> |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]