Adobe
Products

Top destinations

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • SiteCatalyst
  • Students
  • Elements family

Adobe Creative Cloud

  • What is Adobe Creative Cloud?
  • Design
  • Web
  • Photography
  • Video
  • Students
  • Teams
  • Enterprise
  • Educational institutions

Design and photography

  • Photoshop
  • Illustrator
  • InDesign
  • Adobe Muse
  • Lightroom

Video

  • Adobe Premiere
  • After Effects

Web development and HTML5

  • Edge Tools & Services [opens in a new window]
  • Dreamweaver
  • Gaming [opens in a new window]

Adobe Marketing Cloud

  • What is Adobe Marketing Cloud?
  • Digital analytics
  • Social marketing
  • Web experience management
  • Testing and targeting
  • Media optimization

Analytics

  • SiteCatalyst
  • Adobe Discover
  • Insight

Social

  • Adobe Social

Experience Manager

  • CQ
  • Scene7

Target

  • Test&Target
  • Recommendations
  • Search&Promote

Media Optimizer

  • AdLens
  • AudienceManager
  • AudienceResearch

Document services

  • Acrobat
  • EchoSign [opens in a new window]
  • FormsCentral [opens in a new window]
  • SendNow [opens in a new window]
  • Acrobat.com [opens in a new window]

Publishing

  • Digital Publishing Suite

  • See all products
Business solutions

By business need

  • Digital analytics
  • Digital publishing
  • Document management
  • Media optimization
  • Social marketing
  • Testing and targeting
  • Video editing and serving
  • Web development [opens in a new window]
  • Web experience management
  • See all business needs

By industry

  • Broadcast
  • Education
  • Financial services
  • Government
  • Publishing
  • Retail
  • See all industries
Support & Learning

I need help

  • Products
  • Adobe Creative Cloud
  • Adobe Marketing Cloud
  • Forums [opens in a new window]

I want to learn

  • Training and tutorials
  • Certification [opens in a new window]
  • Adobe Developer Connection
  • Adobe Design Center
  • Adobe TV [opens in a new window]
  • Adobe Marketing Center
  • Adobe Labs [opens in a new window]
Download
  • Product trials
  • Adobe Flash Player
  • Adobe Reader
  • Adobe AIR
  • See all downloads
Company
  • Careers at Adobe
  • Investor Relations
  • Newsroom
  • Privacy
  • Corporate Social Responsibility
  • Customer Showcase
  • Contact us
  • More company info
Buy
  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers
  • Adobe Marketing Cloud sales [opens in a new window]
Search
 
Info Sign in
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Welcome,
My Adobe
My orders
My information
My preferences
My products and services
Sign out
My cart
Privacy My Adobe
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out Privacy 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
Promotions
Estimated shipping
Tax
Calculated at checkout
Total
Review and Checkout
Adobe Developer Connection / RoboHelp Developer Center /

Integrating RoboHelp 9 projects with Perforce

by Mark Whisler

Mark Whisler
  • altera.com

Created

23 May 2011

Page tools

Share on Facebook
Share on Twitter
Share on LinkedIn
Bookmark
Print
content managementRoboHelp
Was this helpful?
Yes   No

By clicking Submit, you accept the Adobe Terms of Use.

 
Thanks for your feedback.

Requirements

Prerequisite knowledge

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

  • Creating projects in RoboHelp
  • Version control systems
  • Perforce terminology

User level

Intermediate

Additional requirements

  • Perforce Visual Client (P4V) (Download)
  • Perforce P4SCC plug-in (Download)*
  • Perforce Server (Download)**

*Some versions of P4V include the P4SCC plug-in. The Windows 32-bit installer does not.

**This article is not intended to provide instructions on the setup or maintenance of a Perforce source control system; it presumes that you have access to a Perforce depot to use for source control.

Perforce is a Perforce Software product providing source control, integration, and project tracking. RoboHelp 9 integrates seamlessly with Perforce depots via the Perforce Visual Client (P4V) and P4SCC plug-in to leverage the Microsoft Source Code Control Interface (MSCCI). I used the Perforce Visual Client/NTX86/2010.1/271261 version.

You must install the following components to use RoboHelp 9 with Perforce:

  • The P4V client
  • The P4V SCC plug-in (included in the 64-bit installer, you must install independently for 32-bit client)
  • Adobe RoboHelp 9

I also recommend that you contact your Perforce administrator to provide you with necessary information about your Perforce installation and depot.

Perforce terminology

  • The depot is the repository where Perforce stores files. The default depot Perforce creates is also called "depot"; however, depots can have any name. In other source control systems, such as RoboSource Control, the depot correlates to the database.
  • The workspace is the framework that lets you work with the files in a depot. Your workspace is an image of the Perforce depot on your computer. All workspace names must be unique.
  • A changelist is a request you submit to Perforce with files you have modified. The changelist is how Perforce tracks change requests to the depot in case of conflict with changes by another user.

Connecting to Perforce the first time

If this is your first experience with Perforce, you may need to create a connection. When you start the P4V client, Perforce may prompt you to create a connection by displaying the Connection Setup Wizard dialog box.

Figure 1. Connection Setup Wizard
Figure 1. Connection Setup Wizard

If you see this wizard, you should immediately contact your Perforce administrator to assist with the settings appropriate for your Perforce installation.

Creating a connection to a known depot

If you are already using Perforce, or have access to a Perforce depot, you should create a connection (if you don't already have one) before you create your workspace.

From the Connection menu, click Open Connection. The P4V client displays the Open Connection dialog box.

Figure 2. Open Connection dialog box
Figure 2. Open Connection dialog box

The default Server entry is "perforce:1666"; check with your Perforce administrator for information specific to your depot. Your user name should appear in the User box; type it in if the space is blank. Click New on the Workspace row to open the New Workspace dialog box and create a new workspace for your RoboHelp depot.

Creating a workspace

  1. In the New Workspace dialog box, type a name for your workspace. Click OK.
Figure 3. Creating a new workspace
Figure 3. Creating a new workspace
  1. The Workspace dialog box appears. Some of the information has been generated for you by Perforce (shown in red). Settings that you need to specify (in blue) tell Perforce where to store files locally and in the depot.
Figure 4. The Workspace dialog box
Figure 4. The Workspace dialog box
  1. You should select a Submit Options setting. For example, selecting "revertunchanged" tells Perforce to submit only files with changes.
  2. Specify the Root location to direct Perforce where to store files on your local system.
  3. Specify the entries in the View box to direct Perforce where to find your files in the depot and the workspace used to manage them. There are two parts to the View box entry, the depot side and the workspace side. The depot side entry should correspond to the depot location you plan to use. The workspace side entry should be the same as your workspace name. Both entries should start with "//" and end with "/…" .

For example, if your workspace is called "robobuild", the Perforce depot is named "depot", and the location in the depot you are using is "help/builds", the depot side string is "//depot/help/builds/…" and the workspace side string is "//robobuild/…" .

Each writer needs to create a workspace to grant RoboHelp access to the Perforce depot. The following characteristics are worth noting:

  • Perforce requires unique workspace names. Two writers won't be able to specify the same workspace name.
  • The user is free to specify a Root location.
  • The depot side information in the View box should be identical, because that is what Perforce uses to connect the workspace to the depot.
  • The workspace side information in the View box should match the Workspace listed by the dialog box.

Add a RoboHelp project to Perforce

Before you can use Perforce for source control, you must add your RoboHelp project to a Perforce depot. Once a project is in Perforce, writers can get the project files out, update to the latest revision, and submit changes in a controlled environment. To add a project to Perforce, complete the following steps:

  1. Launch RoboHelp and create a project in the folder you specified in the Root box. You can also copy an existing project into that folder and open it from there.
  2. After the project is created or opened, click Add Project to Version Control from the Version Control toolbar or on the File menu.
  3. Select the Perforce SCM option and click OK.
Figure 5. Selecting the version control provider
Figure 5. Selecting the version control provider
  1. In the Open Connection dialog box, specify the workspace you defined previously. Click OK.
Figure 6. This image of the File Status pod in RoboHelp shows how RoboHelp flags all the files in the project you want to add to Perforce.
Figure 6. This image of the File Status pod in RoboHelp shows how RoboHelp flags all the files in the project you want to add to Perforce.
Figure 7. The files in the Workspace view
Figure 7. The files in the Workspace view

This image of a Perforce changelist shows how Perforce recognizes that there are files waiting to be submitted. You need to check in these new files with RoboHelp to allow Perforce to submit them to the depot.

  1. Click the Check In All icon to open the Check In dialog box. Click OK.
Figure 8. Checking in all files
Figure 8. Checking in all files
  1. Perforce opens the Submit Changelist dialog box. Type a changelist description in the Write a changelist description box to enable the Submit button. Click Submit.
Figure 9. The Submit Changelist dialog box
Figure 9. The Submit Changelist dialog box
  1. RoboHelp checks the files in and Perforce updates the depot.
Figure 10. The updated depot once files have been checked in
Figure 10. The updated depot once files have been checked in

Get a RoboHelp project from Perforce the first time

Each writer must create a uniquely named workspace before they can work in a project. To get a project from Perforce the first time, make sure that you have the workspace name, folder details, and the appropriate access rights. Each writer needs to perform the following steps to acquire files from source control:

  1. Create a workspace in Perforce.
  2. Open RoboHelp. On the File menu, click Open.
  3. Click the Open Project from Version Control icon to open the Select Version Control Provider dialog box.
  4. Click Perforce SCM, then click OK.
  5. In the Open Connection dialog box, type or browse to the workspace you created in Step 1. Click OK.
  6. In the Perforce – Open Project dialog box, navigate to the folder containing the target project. Click the project folder, then click OK.
Figure 11. The Open Project dialog box
Figure 11. The Open Project dialog box
  1. RoboHelp displays the Open Project dialog box containing the project .xpj file. You can now open the project from the .xpj file. The local copy is saved in the location you specified in the Root box when you open the project from source control.
Figure 12. The Open Project dialog box
Figure 12. The Open Project dialog box

Working in RoboHelp with Perforce

Once you have gotten a project from Perforce, you can open it with the .xpj file or from the Starter menu. RoboHelp automatically updates all of the project files to the latest version from Perforce. When you need to modify a topic or project file, click the Check Out icon or use the Check Out menu option in the Project Manager. When your changes are complete, click the Check In icon or the Check In menu option to display the Submit Changelist dialog body to submit your changes to Perforce. Best practice indicates that using the Check In All option in RoboHelp is better than checking in individual files, because you need to submit only a single changelist. If your workspace specifies the "revertunchanged" Submit Option, only files with actual changes are updated.

What if you added the project to an incorrect location in Perforce?

Unless you have permission to permanently remove material from the depot, you will probably need to enlist the help of your Perforce administrator to correct this situation. Depending on your source control protocols, the administrator can determine whether you need to correctly add the files before or after the incorrect files are removed, or if another solution is available.

More Like This

  • Using the new RoboHelp 10 scripting events
  • Getting started with ExtendScript in RoboHelp
  • Adobe AIR Help in RoboHelp 9
  • Integrating RoboHelp projects with Team Foundation Server
  • Use of RoboHelp Server by technical publications departments
  • Creating ebooks using RoboHelp 9

Products

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • Digital Publishing Suite
  • Elements family
  • SiteCatalyst
  • For education

Download

  • Product trials
  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR

Support & Learning

  • Product help
  • Forums

Buy

  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers

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 © 2013 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy | Cookies

Ad Choices

Reviewed by TRUSTe: site privacy statement