dita-community / org.dita-community.qa

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

incomplete build output and [java] Java Result: 1 error #16

Open aidanreilly opened 7 years ago

aidanreilly commented 7 years ago

I have a standard DITA OT 2.4.6 distribution package installed and am trying to run the qa plugin. The plugin works fine provided if I use the dita-ot-2.4.6\startcmd.bat and then run the build, for example:

 dita -f qa -i C:\SVN\TC\Common\tools\qa_map.ditamap -o out -Dsetchunk true

The report is generated successfully.

If I open another new cmd prompt and run the same command, i get the following error:

 dita2qa:
      [xslt] Transforming into C:\dita-ot-2.4.6\out
      [xslt] Processing C:\Users\areilly\AppData\Local\Temp\temp20170423204931064\taskbook.dita to C:\dita-ot-2.4.6\out\taskbook.dita
      [xslt] Loading stylesheet C:\dita-ot-2.4.6\plugins\org.dita-community.qa\xsl\qadata.xsl
      [move] Moving 1 file to C:\dita-ot-2.4.6\out
      [java] Error: Could not find or load main class net.sf.saxon.Transform
      [java] Java Result: 1
      [java] Error: Could not find or load main class net.sf.saxon.Transform
      [java] Java Result: 1
      [java] Error: Could not find or load main class net.sf.saxon.Transform
      [java] Java Result: 1

The out folder contains the intermediary dita, but doesn't contain the final html report. What is set in the startcmd.bat that I need to set in the system path to enable me to run the qa build without having to open startcmd.bat?