Erik B. wrote:
I have managed to install the evaluation version of XMLMind on our CI
(Continuous Integration) server and have been experimenting with convertdoc.
...
I just have one remaining issue and that is when trying to convert to
db5.toHTMLHelp I am encountering an error. I have listed below the
command and the output.This is the last step to get the go ahead to use
XMLMind in our organisation. So, could you please have a look and let me
know what I'm doing wrong?


bash-4.1$ /opt/xxe/bin/convertdoc db5.toHTMLHelp 'XXX.xml' -u /tmp/YYYY.chm
Writing /tmp/xxe4747516915945930416/ch01s01.html for section
...
Writing /tmp/xxe4747516915945930416/index.html for book
Writing /tmp/xxe4747516915945930416/htmlhelp.hhp
Writing /tmp/xxe4747516915945930416/toc.hhc
convertdoc: *** error: Command execution has failed:
file
"/tmp/xxe4747516915945930416/htmlhelp.chm"
not found or is a directory



Only guessing what could be the problem...

--> There is no way to generate HTMLHelp on a Linux[*] server because you need to run Microsoft's HTMLHelp Compiler in order to convert the generated .hhp file + the other generated HTML files to a .chm file.

--> If your CI server is a Windows machine, then please proceed as follows:

1) Download and install Microsoft HTMLHelp Compiler on it.
Let's suppose it's installed in "C:\Program Files\HTML Help Workshop".

2) Start XMLmind XML Editor on this machine.

3) Select Options|Preferences, Tools|Helper Applications.

4) Click Add and associate extension

hhp

to

"C:\Program Files\HTML Help Workshop\hhc.exe"

See this screenshot http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.helperapps.HelperApplicationEditor.html

5) Quit XMLmind XML Editor.

6) Use convertdoc normally as this command-line version of XMLmind XML Editor will of course automatically use your user preferences.

References:

* Please download "Microsoft HTML Help Workshop" from

http://www.microsoft.com/en-us/download/details.aspx?id=21138

* http://www.xmlmind.com/xmleditor/_distrib/doc/help/toolsOptions.html#helperApplicationsOptions



---
[*] May be "C:\Program Files\HTML Help Workshop\hhc.exe" runs on a Windows emulator like WineHQ (http://www.winehq.org/). However I've never tested this.



--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to