Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
aidanreilly opened this issue Apr 23, 2017 · 0 comments
Open

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

aidanreilly opened this issue Apr 23, 2017 · 0 comments

Comments

@aidanreilly
Copy link

aidanreilly commented Apr 23, 2017

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?

@aidanreilly aidanreilly changed the title unable to complete qa build via dita command incomplete build output and [java] Java Result: 1 error Apr 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant