Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

RHCL.EXE -b switch and Layout doesn't exist

Explorer ,
Mar 16, 2017 Mar 16, 2017

C:\Program Files (x86)\Adobe\Adobe RoboHelp 9\RoboHTML>rhcl --help

Adobe (R) RoboHelp Project Command Line Compiler version 9.0.1.262

Copyright (C) 2006-2007, Adobe Systems Incorporated and its licensors. All right

s reserved.

Usage: RHCL [-?] project [-l layout_name] [-p [server_name[:user_name:password]]

[-o output_folder_name] [-d]

Option Description:

project  Specifies a RoboHelp project file .xpj.

-l       Specifies a layout name.

         Primary layout is used by default.

-p       Specifies publishing server with optional username and password.

         If no server name is specified after -p, RHCL will publish the result

         to all servers that are available to the layout.

-o       Specifies output folder name.

         The layout's default output folder is used by default.

-d       Displays all layout name(s) and publishing server name(s).

-b       Generates all layouts set for batch generation in the project.

-g       Log File name.

-?, -h   Requests online help.

Examples:

  RHCL c:\project\myhelp.xpj

  RHCL "c:\my project\myhelp.xpj"

  RHCL c:\MY_DOC~1\MY_PROJ~1.XPJ

  RHCL c:\project\myproject.xpj -d

  RHCL c:\project\myhelp.xpj -l "Microsoft HTML Help"

  RHCL c:\project\myhelp.xpj -l WebHelp -p

  RHCL c:\project\myhelp.xpj -l FlashHelp -p server1:user1:password1 -p server2

  RHCL c:\project\myhelp.xpj -l "My Layout" -o "c:\Output\My Layout Output"

C:\Program Files (x86)\Adobe\Adobe RoboHelp 9\RoboHTML>

-b says "Generates all layout name(s) set for batch generation in the project".

But I'm getting an error, that the specified layout wouldn't exist:

358
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 16, 2017 Mar 16, 2017
LATEST

I seem to have found it: in rhlayout.fpj there was a trailing blank in the XML after "Microsoft HTML Help ". I had this on 80% of my projects. Funny, who ever edited this.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp