1 Reply Latest reply on May 28, 2008 1:37 AM by vivek_k-GfmzA1

    automated builds w/RH6 and RH7

    kmaddox1 Level 1
      We use an automated build process (Visual Build Professional) that checks the RH files out of the source control software (we use Surround) and generates the Webhelp output using a Robohelp command line in the build script. Up until now, we used RH6 and the process was amazingly seamless. I'd check my source files into Surround at the end of the day and the next morning, the output would appear in the new build of our application.

      Sweet.

      The problem that I'm writing about happened when I upgraded my files to RH7 right after our last software release. While I'm having no problems generating output in RH7, the build engineer can no longer get it to work in the automated process. (Yes, we upgraded to RH7 on the build machine, updated the command line to RH7, and no, we're not trying to run the build across a network.)

      Since "my" step is causing the entire build to fail (oops), I've been asked to help figure out what's going on...

      Any thoughts to why RH6 would work in this scenario but not RH7?

      I should probably mention that we still need to support our last release, which was done in RH6. That means that RH6 and RH7 are both installed on the build machine in case they need to rebuild the last version of the help. Are there any known issues with that? I haven't experienced any problems having em both on my computer, as long as I don't inadvertently open the RH7 version with RH6 and vice versa.
        • 1. Re: automated builds w/RH6 and RH7
          vivek_k-GfmzA1 Level 1
          RoboHelp creates an entry in the PATH environment variable and uses it for running from command line. If you have both RH6 and RH7 installed then most likely you have 2 entries for RoboHelp in the PATH variable. If you run RH7 command line and RH6's entry is before RH7's in the PATH variable then it would create problems.

          It can be fixed in the build script. Please make sure that entry for RH7 is before RH6 in the PATH variable if you wnat to run RH7 command line complier and vice versa if you want to run RH6 command line compiler.

          e.g. (to set the path)
          set PATH="c:\program files\Adobe\Adobe RoboHelp 7\RoboHTML";%PATH%

          Vivek.