OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: RE: [docbook-apps] Transforming with ant: resolver class not found error

> -----Original Message-----
> From: Denis Bradford 

>   * I can only specify the system "-D" options on the command line.
>     Can you do it in the ant build.xml?

Try using <sysproperty>, like this:

<sysproperty key="javax.xml.parsers.DocumentBuilderFactory"

>   * Error: "Failed to load com.sun.resolver.tools.CatalogResolver"
>     Note that the same classpaths work in the makefile.

> 	<arg line="-x com.sun.resolver.tools.ResolvingXMLReader"/>
> 	<arg line="-y com.sun.resolver.tools.ResolvingXMLReader"/>
> 	<arg line="-r com.sun.resolver.tools.CatalogResolver"/>

You have the wrong class names. The Apache Resolver class names are: 


And in a CatalogManager.properties file specifying catalog-class-name, it
should be: 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]