Version: RH 9 (latest version)
OS: Windows 7, 64-bit
I have a batch file that uses RH's command line generation functionality to generate our CHMs regularly.
The command line works for my other projects. But I have one project that has three different CHMs outputted, and each chm from this one project always fails.
Each of the three log file generated contains info along these lines.
Adobe (R) RoboHelp Project Command Line Compiler version 18.104.22.168
Copyright (C) 2006-2007, Adobe Systems Incorporated and its licensors. All rights reserved.
Project: d:\hg\pcdmisqa\pcdlrn\help\toolkitmodules\PC-DMIS Toolkit Modules.xpj
Layout: Toolkit Modules-Miscellaneous.
Scanning project for compilation....
Error: Failed to scan all the project files. Please use RoboHelp to recover the project.
Unexpected Error: Failed to prepare single source data for RHCL. Please try to compile it in RoboHTML.
Any ideas? By the way, these helps compile fine within RH itself.
Okay, deleting the CPD and reimporting the HHP file to recreate the XPJ and all the other project files fixed this problem for me. They seem to be generating using the command line now.
But it created a LOT of work: all build layouts had to be recreated and all conditional build tags had to be regenerated.
If you do go this route, make sure you make a backup of your project first as you may have to refer to it to get things back the way they were after the import process.