ANT and xslt task hanging

R

Rogan Dawes

Hi folks,

I am using ant and the xslt task to process a DocBook XML file to
individually named JavaHelp format fragments.

I am using the javahelp/javahelp.xslt template to do this (from the
latest DocBook XSLT stylesheets)

However, I am having a weird problem.

Using xsltproc, it "just works".

The ant task under netbeans "just works".

But if I run ant from the command line, it hangs trying to write to
"swing.html"

My ant task looks like:

<target depends="init" description="JavaHelp" name="javahelp">
<xslt basedir="doc/userguide/"
destdir="${build.dir}/help"
scanincludeddirectories="false"
includes="swing.xml"
style="${javahelpstyle}" />
</target>

I am simply converting swing.xml and writing the output to
${build.dir}/help.

But it fails when not run from within NetBeans.

Does anyone have any idea what is going on?

Rogan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top