Copyright of WAVELET.BIZ
Upon successful generation of the WebHelp using RoboHelp. Authors could publish the latest version of the manual to http://help.wavelet.biz with the following steps:
1. Install cwRsync
a) Download the client version of the cwRsync from http://itefix.no/cwrsync/
b) Run the installation file
2. Edit the Command File
a) Create and edit a command file using notepad
b) Do not blindly copy and paste, you must modify the local directory path accordingly.
c) You can save it as robohelpUpdate.cmd on your desktop or wherever deemed appropriate
|
@ECHO OFF REM ***************************************************************** REM REM CWRSYNC.CMD - Batch file template to start your rsync command (s). REM REM By Tevfik K. (http://itefix.no) REM ***************************************************************** REM Make environment variable changes local to this batch file SETLOCAL REM ** CUSTOMIZE ** Specify where to find rsync and related files (C:\CWRSYNC) SET CWRSYNCHOME=C:\PROGRAM FILES (x86)\CWRSYNC REM Set CYGWIN variable to 'nontsec'. That makes sure that permissions REM on your windows machine are not updated as a side effect of cygwin REM operations. SET CYGWIN=nontsec REM Set HOME variable to your windows home directory. That makes sure REM that ssh command creates known_hosts in a directory you have access. SET HOME=%HOMEDRIVE%%HOMEPATH% REM Make cwRsync home as a part of system PATH to find required DLLs SET CWOLDPATH=%PATH% SET PATH=%CWRSYNCHOME%\BIN;%PATH% REM Windows paths may contain a colon (:) as a part of drive designation and REM backslashes (example c:\, g:\). However, in rsync syntax, a colon in a REM path means searching for a remote host. Solution: use absolute path 'a la unix', REM replace backslashes (\) with slashes (/) and put -/cygdrive/- in front of the REM drive letter: REM REM Example : C:\WORK\* --> /cygdrive/c/work/* REM REM Example 1 - rsync recursively to a unix server with an openssh server : REM REM rsync -r /cygdrive/c/work/ remotehost:/home/user/work/ REM REM Example 2 - Local rsync recursively REM REM rsync -r /cygdrive/c/work/ /cygdrive/d/work/doc/ REM REM Example 3 - rsync to an rsync server recursively : REM (Double colons?? YES!!) REM REM rsync -r /cygdrive/c/doc/ remotehost::module/doc REM REM Rsync is a very powerful tool. Please look at documentation for other options. REM REM ** CUSTOMIZE ** Enter your rsync command(s) here rsync -avzr --delete -p --chmod=ugo=rwX /cygdrive/d/MyDocs/robohelp/WaveletEMP/WebHelp/* username@shell.sourceforge.net:/home/groups/e/en/enterprise/htdocs/
|
3. Run the Command File
a) Just double click on the batch / command file to execute it
b) You will be prompted with sourceforge.net password.