← Prev in month ← Prev in thread

Incorrect output dir if I use chunk.xsl with Apache Ant

From
Lars Vogel <>
Date
2012-01-09T08:07:03+00:00
ID
CAOeJ3wuiOs1ZmonbWT46HnGLz=
Thread
Incorrect output dir if I use chunk.xsl with Apache Ant
Hello,

I wanted to create chunk output for my tutorials. Unfortunately the destination directory seems to get ignore if I use chunks.xsl instead of docbook.xsl.

I use Apache Ant:

<target name="build-html" depends="xinclude" description="Generates HTML files from DocBook XML">

		<xslt style="${myhtml.stylesheet}" extension=".html" basedir="${outputtmp.dir}" destdir="${article.dir}">

			<include name="**/*article.xml" />

			<classpath refid="saxon.class.path" />

		</xslt>

</target>

If I replace ${myhtml.stylesheet} (which points to a customizing layer of docbook.xsl) with a reference to chunks.xsl, the output is written to the currrent directory and not the defined destdir.

This is a strange issue for me as I can see no reason why this should happen. Did anyone ran into this already and know how to solve it?

Best regards, Lars

-- 

Lars
http://www.vogella.de - Eclipse, Android and Java Tutorials
http://www.twitter.com/vogella - Lars on Twitter
← Prev in month ← Prev in thread