ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Koberg <>
Subject Re: Style task using bad path
Date Sat, 03 Jul 2004 13:43:45 GMT
Bertalan Fodor wrote:

>Hello, I'm using the <style> task to make doc for my new software called
>My stylesheet imports a stylesheet, which imports another stylesheet
>like this:
>Foo\src\my.xsl: <xsl:import

The file path is not valid. It should be something like:


or even better use a relative path.

What you are doing should produce a path that looks like:


>chunk.xsl: <xsl:import href='docbook.xsl'>
>When I'm running ant I get the following:
>resolve: 'docbook.xsl' with base:
>No matching catalog entry found, parser will use: 'docbook.xsl'
>    [style] d:/prog/docbook-xsl-1.65.1/html/chunk.xsl:18:33: Error! Had
>IO Exception with stylesheet file: docbook.xsl Cause:
> d:\Foo\src\docbook.xsl 
>It can't find the file, because it is looking for it in the wrong place.
>It's looking in the directory where Ant was called from (d:\Foo\src) and
>not the directory of the importing chunk.xsl
>My files are perfectly processed with xsltproc without any

xsltproc is wrong.


>Please help,

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message