Skip to main content
Participant
July 20, 2007
Question

Command Line Compliation and Build Tags

  • July 20, 2007
  • 3 replies
  • 506 views
I have searched RoboHelp's documentation and can't find any information on this subject.

My organization would like to use command line compilation to generate and publish webhelp projects, but some of our projects use conditional build tags. Can we use command line compilation for projects that had build tags? If so, what is the correct syntax?
This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

GB_AustinAuthor
Participant
July 20, 2007
Yes, we have version 6.
Inspiring
July 24, 2007
Hi GB_Austin,

What you need to do is set up a Single Source Layout (SSL) to build with the conditional tags. If you are not sure how to do this, let me know. Let's assume you have a SSL that can do this and it is called "General". To build it using Command Line Compilation, use the following command:
rhcl [address of your project's xpj file] -l "General" -o [address of the output directory]
The -l (lower case L) tells the caommand line to use this SSL. If you leave -l "General" out it will compile your Primary Layout instead. If you leave out the -o and the address, the output chm file will be placed in the current folder. So the basic command is just:
rhcl [address of your project's xpj file]

I hope this has helped,

darkagn
RoboColum_n_
Legend
July 20, 2007
Hi GB Austin and welcome to the RH Community. Command line compilation came in with version 6 last January. Do you have this version?