Adobe
Products
Acrobat
Creative Cloud
Creative Suite
Digital Marketing Suite
Digital Publishing Suite
Elements
Photoshop
Touch Apps
Student and Teacher Editions
More products
Solutions
Digital marketing
Digital media
Education
Financial services
Government
Web Experience Management
More solutions
Learning Help Downloads Company
Buy
Home use for personal and home office
Education for students, educators, and staff
Business for small and medium businesses
Licensing programs for businesses, schools, and government
Special offers
Search
 
Info Sign in
Welcome,
My cart
My orders My Adobe
My Adobe
My orders
My information
My preferences
My products and services
Sign out
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out My orders My Adobe
Preorder Estimated Availability Date. Your credit card will not be charged until the product is shipped. Estimated availability date is subject to change. Preorder Estimated Availability Date. Your credit card will not be charged until the product is ready to download. Estimated availability date is subject to change.
Qty:
Purchase requires verification of academic eligibility
Subtotal
Review and Checkout
Adobe Developer Connection / RoboHelp Developer Center /

Integrating RoboHelp projects with Subversion

by Aditi Roongta

Aditi Roongta
  • Adobe

Content

  • Configuring SVN Server
  • Using SVN Client

Created

14 March 2011

Page tools

Share on Facebook
Share on Twitter
Share on LinkedIn
Bookmark
Print
digital publishing RoboHelp

Requirements

Prerequisite knowledge

To follow this article, you should have a basic understanding of:

  • Creating projects in RoboHelp
  • Version control systems

 

Additional required products

  • Subversion installer with SCC plugin
  • SVN Server
  • TortoiseSVN

User level

Intermediate

Required products

  • RoboHelp (Download trial)

Subversion (SVN) is universally recognized and adopted as an open-source, centralized version control system. It can support a wide variety of users and projects. RoboHelp integrates seamlessly with MSSCCI-compliant version control systems, such as the PushOk SVN SCC plugin. This article describes a recommended way to use the PushOk SVN SCC plugin with RoboHelp. RoboHelp integration with PushOk SVN SCC does not require manual handling of any files.

To set up Subversion Source Control for your project, you must have the following components installed and configured:

  • Subversion Client (for example, PushOk SVN SCC) software on the machines that you want to set up as your source control clients.
  • SVN Server software on the machine that you want to set up as the source control server.

Because SVN Server works using the command prompt, Tortoise SVN (GUI) is helpful.

For the tutorial in this article, the following third-party products are used:

  • PushOk SVN SCC software 32-bit installer
  • SVN Server Win32, version 1.6.15
  • Tortoise SVN Win32 version 1.6.9 installer

Configuring SVN Server

Create a repository

You first need to create a folder for your main Subversion repository. I prefer to use a top-level folder so it's easy to find and back up. So choose something like C:\SubversionRepo and do the following steps:

  • Create a folder (for example, C:\SubversionRepo)
  • Right-click | TortoiseSVN | Create Repository here

To set up permissions for this repository, configure C:\SubversionRepo\conf\svnserve.conf and password.

In SvnServe.conf, specify the following:

[general] # anon-access = read auth-access = write password-db = passwd

This configuration enables only authenticated access to the repository and provides write access to authenticated users.

Next, edit the password file (password) and add any names you want to allow as key value pairs. For example, add details about User1 and User2 in the following way:

[users] User1 = test1 User2 = test2

Start the server

Open the command prompt and run the following command to start the server:

svnserve.exe –daemon

Leave the command window open to keep the server running.

Verify the connection

To verify that the connection to the server and the repository is successful, select TortoiseSVN > Repo- browser from the right-click menu. Provide the URL as svn://localhost/SubversionRepo

Verify the connection.
Figure 1. Verify the connection.

The Repository browser opens the repository if the provided URL is correct.

The repository browser
Figure 2. The repository browser.

Using SVN Client

After installing the PushOk SVN SCC plug-in, make sure that PushOk SVN SCC is listed as a source provider in the registry (HKLM > Software > SourcecodeControlProvider >InstalledSCCProviders).

Add a RoboHelp project to SVN

  1. Launch RoboHelp and create a project.
  2. After the project is created, click Add Project to Version Control from the Version Control toolbar or from the File menu.
  3. Select the PushOk SVNSCC option and click OK.
Selecting the version control provider.
Figure 3. Selecting the version control provider.
  1. In the Connection dialog box, provide the SVN URL, the SVN module name, and the local path.
Providing the SVN URL, the SVN module name, and the local path.
Figure 4. Providing the SVN URL, the SVN module name, and the local path.

SVNURL: Specifies the address of the repository to which you want to connect.

Use the following format:

(protocol)://(servername)/(path)

  • (protocol): A way of connecting to SVN server. For example, the protocol can be file, svn.
  • (servername): A server name for client-server protocols.
  • (path): A path on the server or the local disk.

An example of SVNURL with the file protocol

The URL depends on whether the file repository is located in a local or network file system.

For a local file system, servername is empty, and SVNURL looks like file:///(path_on_local). That is, SVNURL contains 3 slashes one after another.

For a network file system, SVNURL looks like file://network-svr/Users/John/SVNRepo where network-svr is the server-name; 'Users/John/SVNRepo' is the path of the repository on the server.

An example of SVNURL with the svn protocol

svn: native (internal) protocol realized by the svnserve daemon.

SVNURL will become svn://server-name/path

  1. Click Check to verify that the connection to the repository is successful.

SVN MODULE: A module is a folder inside the repository or a path within the repository.

  1. Specify a new module name and click Create.

Note: If the module name already exists, click Check to verify that the connection is set.

Local Path: Local path is automatically set to the current project path.

The select SVNURL dialog box.
Figure 5. The select SVNURL dialog box.
  1. Click OK.

Now the files and folders of the current project are added to the SubversionRepo.

Project files are in a checked-out state after they are added to the SVN repository.

Get a RoboHelp project from SVN

To get a project from SVN, make sure that you have SVNURL and SVN Module details, and the appropriate access rights.

  1. Open RoboHelp and select File > Open.
  2. Click the lock icon to open the project from the version control system.
  3. Create the connection again using the connection steps described in the Add a RoboHelp project to SVN section.
  4. Provide the shared SVNURL and SVN Module details and click the Check button to see if the connection is made to the already existing SVN URL and SVN module.
  5. Provide the local path in your drive where you want to store the copy of the project.

You can now open the .xpj file of the project, and the version-controlled project will be opened in RoboHelp.

Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License+Adobe Commercial Rights

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. Permissions beyond the scope of this license, pertaining to the examples of code included within this work are available at Adobe.

More Like This

  • Use of RoboHelp Server by technical publications departments
  • Integrating RoboHelp projects with Team Foundation Server
  • Creating ebooks using RoboHelp 9

Products

  • Acrobat
  • Creative Cloud
  • Creative Suite
  • Digital Marketing Suite
  • Digital Publishing Suite
  • Elements
  • Mobile Apps
  • Photoshop
  • Touch Apps
  • Student and Teacher Editions

Solutions

  • Digital marketing
  • Digital media
  • Web Experience Management

Industries

  • Education
  • Financial services
  • Government

Help

  • Product help centers
  • Orders and returns
  • Downloading and installing
  • My Adobe

Learning

  • Adobe Developer Connection
  • Adobe TV
  • Training and certification
  • Forums
  • Design Center

Ways to buy

  • For personal and home office
  • For students, educators, and staff
  • For small and medium businesses
  • For businesses, schools, and government
  • Special offers

Downloads

  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR
  • Adobe Shockwave Player

Company

  • News room
  • Partner programs
  • Corporate social responsibility
  • Career opportunities
  • Investor Relations
  • Events
  • Legal
  • Security
  • Contact Adobe
Choose your region United States (Change)
Choose your region Close

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • ישראל - עברית
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • الشرق الأوسط وشمال أفريقيا - اللغة العربية
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2012 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy Policy and Cookies (Updated)

Ad Choices

Reviewed by TRUSTe: site privacy statement