dita-community / org.dita-community.qa

Quality Assurance plugin for the DITA Open Toolkit
Apache License 2.0
4 stars 4 forks source link

Issue with subdirectories in -o parameter #4

Closed xavierroy closed 8 years ago

xavierroy commented 9 years ago

The qa plugin does not generate the output html files when you provide a subfolder for the -o parameter.

dita -f qa -i samples/taskbook.ditamap -Dsetchunk=true and dita -f qa -i samples/taskbook.ditamap -o output -Dsetchunk=true works without issues.

dita -f qa -i samples/taskbook.ditamap -o output/qa -Dsetchunk=true does not work and displays an error. The folder structure is created, but the reports are not generated.

!!! final line of log file Error: Fatal error during transformation using D:\dita-ot\plugins\org.dita-community.qa\xsl\qacsv.xsl: java.io.FileNotFoundException: D:\dita-ot\out\plugins\org.oasis-open.dita.v1_2\dtd\technicalContent\dtd\topic.dtd (The system cannot find the path specified)

mdlinville commented 9 years ago

+1

justdp commented 8 years ago

Instead of an XSLT task, I've updated the build file to use a java task and explicitly passed the DITA catalog. You can now specify a different output subdirectory.