Problem:
Resolution:
The command line option to generate only was added in AcuBench version 9.0.0, however the manual has not been updated.
Beginning in version 9.0.0 the syntax for generating a workspace using the command-line interface is as follows:
[acupath]\acubench90.exe /generate [projectdir]\[workspace.pjt]
For example, if you have AcuBench installed in the default directory, and you would like to generate a workspace called "Project1", use the following command:
c:\Program Files\Micro Focus\Acucbl9xx\acubench\acubench90.exe /generate C:\path to project\project1.pjt
(on 64-bit Windows it is "Program Files (x86)")
AcuBench regenerates the code but does not build the programs. This is the same behavior that you get when you execute a Regenerate Workspace command from the AcuBench Build menu.
To Regenerate a single program use:
c:\Program Files\Micro Focus\Acucbl9xx\acubench\acubench90.exe /generate C:\path to project\project1.pjt program.psf