Skip to main content
May 24, 2012
Question

Command Line Compile and Index

  • May 24, 2012
  • 3 replies
  • 2971 views

When doing a command line compile for a project, it is pulling in the wrong index. In our project, we have two indices: One contains an old index that we are reluctant to remove in the event it is needed again, and another (the default index of the project) is a blank index.

When I compile the project through Robohelp, the blank index is pulled in, and there is no index displayed in the final output (chm). There is a tab for the contents, the search, and the glossary. However, when doing this through the command line using the exact same ssl, the index is included and it is pulling in the old index that contains data.

Does anyone know of a way to stop this from occurring other than probably removing the old index?

    This topic has been closed for replies.

    3 replies

    vishu_13
    Inspiring
    May 25, 2012

    Hi

    Make your index as default index which you want to use in your Output.  In the HTML Help Options make sure the index is Default, Then run your commadn prompt as Run as Admin, change the directory to the Robohelp Insatll folder using command cd C:\Program Files\Adobe\Adobe RoboHelp 9\RoboHTML and then run the command.

    Hope it helps

    Thanks

    VJ

    May 25, 2012

    Your suggestion is exactly what I am doing, and the above results are what happens.

    vishu_13
    Inspiring
    May 25, 2012

    If possible, test the same in a different computer as I am able to get the index which i want

    Participating Frequently
    May 25, 2012

    Please check which index is selected in the SSL dialog, which ever index is selected in SSL will go in output.

    Hope this will help

    Ashish

    May 25, 2012

    The <Default> index is selected, and this is the index that is blank and never outputs to the chm when compiled from within Robohelp. But for some reason, it's pulling in the other index that is not the default and is not selected in the SSL dialog.

    If I delete the old index, it works correctly. Logically, this doesn't make sense since the SSL file itself (when opened outside of RH in Notepad) shows that the index is set to <Default>.

    Peter, I had read your article on your site, but I didn't find anything to help with this problem.

    RoboColum_n_
    Legend
    May 25, 2012

    Rather than setting the value in the SSL to <Default Index> try selecting the actual index file you require.

    Peter Grainge
    Community Expert
    Community Expert
    May 25, 2012

    See if Bill Albing's article hosted on my site helps.

    http://www.grainge.org/pages/authoring/command_line/command_line.htm


    See www.grainge.org for RoboHelp and Authoring tips

    @petergrainge

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.