BACKGROUND: We're using Javadocs to generate API
documentation from source code, and we've built a script that
creates the basic files that RH5 wanted in order to create a
project (the XPJ, HHC, HHP, FPJ files used to define the file
structure). The old process then had me manually opening the
script-generated XPJ file in RH5 and using the GUI to generate the
WebHelp help module. Worked like a charm.
Now, we've updated to RH7 to leverage the command line
interface. However, using the CLI to open the script-generated XPJ
file generates an error (I don't have the error text handy, but
it's related to the XPJ being from a previous version). If I open
the project using the GUI, it prompts me to update the project (a
simple single click dialog does this), and from that point any
further uses of the CLI works fine. There are slight variations
between the RH5 and RH7 versions of the XPJ and FPJ files, but even
if we update those files to the RH7 version, the CLI still spits
out an error unless I manually open the project in the RH7 GUI
first.
Unfortunately, we want to use this in our nightly build
process, so we don't want to regenerate the whole project folder
anew every night, so the "GUI first" approach isn't an acceptable
solution. We want this to be automated.
SO, MY QUESTIONS:
- Is there a way to tell the CLI to automatically update the
project (i.e., ignore errors & warnings)?
- Is there some magical combination of required project files
for the CLI to work properly?
- There's an annoying CPD binary file that now gets generated
in RH7 projects. Is that the culprit?
- Is there some other way of tackling this process so we can
achieve full automation of the Javadocs output into WebHelp help
modules?
Thanks in advance for any help y'all can provide!
--eric
austin, tx