New Features
Enhanced Features
O/R Mapping
Tips and Tricks
UML Diagrams
VP Suite

Perforce Integration

Introduction

Perforce is a Software Configuration Management system which lets developers manage the changes they made when developing software. All Visual Paradigm client products are integrated with Perforce to facilitate collaborative modeling. Your team can use Perforce repository to store project files, keep track of changes and perform modeling concurrently.

Teamwork Server, another product of Visual Paradigm, is not required for integrating with Perforce. The integration is supported in the following products (and editions):

ProductsEdition
Visual Paradigm for UMLStandard or above
Smart Development EnvironmentStandard or above
DB Visual ARCHITECTJava, PHP, .NET and Professional
BP Visual ARCHITECTAnalyst
AgilianStandard


* The viewer edition of all products support check-out and update Visual Paradigm project from Perforce server.

In this page, we will describe how to work collaboratively using Perforce. Operations such as importing a project into Perforce repository, committing a project to server, and updating a project from server will be covered.

Importing a project to Perforce Server

Developers who take part in the project can import a Visual Paradigm project to Perforce Server. To import a processing project:

  1. Select Tools > Teamwork > Open Teamwork Client... from the main menu (or click on the Open Teamwork Client button on the toolbar).


  2. This shows the Login to the Teamwork Server dialog box, select Perforce as Server and fill in the fields. Then click OK to connect to the server.


    Field Description
    User name The name of user under which to connect
    PasswordPassword for user
    Perforce path The path of the p4.exe file
    Host The address of the host
    Port The port number assigned to the Perforce server


  3. This shows the Manage Project dialog box, which is for selecting a project file to work with. Click OK to skip this dialog box.


  4. This shows the Teamwork Client dialog box, select Project > Import Project to Repository (or click on the Import Project to Repository button on the toolbar).


  5. This shows the Import Project dialog box, enter the name of the project, specify the source of the project to import to the Perforce server and select the repository where the project imported. Then click OK.


    Option Description
    Currently opened project The project that is opened in the running application
    Create new project A blank and a new Visual Paradigm project
    Import existing project An external project file


  6. Now the project is imported.


Checkout a project

By importing a project to the server, clients can check that out from the Perforce Server to the local machine.

  1. Select Tools > Teamwork > Open Teamwork Client... (or click on the Open Teamwork Client button on the toolbar).


  2. This shows the Manage Project dialog box, select the project you want to open, click the Add Selected button to add the project.


  3. Then click OK.


  4. When it returns to the Teamwork Client dialog box, select the project and click Checkout.




    By checking out a project you get a copy of the teamwork project, in order to work with the project, you need to open it in the application.

  5. To open a teamwork project, click Open Project.


Committing a project

When a project is edited in the local machine, the changes can be made available on the project in the server. This can be done via committing the project to the Perforce Server.

  1. Select Tools > Teamwork > Commit... (or click on the commit button on the toolbar).


  2. This shows the Commit Project dialog box, enter the description of the change and click OK.


  3. This shows the Commit Model(s) dialog box. It will show you the changes will be made to the server copy of the project. Click OK to commit.


    A conflict might be found if the change(s) made by someone else cause conflict to the change(s) you made. You must resolve all the conflicts to proceed with committing the project.


    There are two ways to resolve a conflict, Overwrite or Revert. By Overwriting, the server version will be overwritten by the local version for that particular change. By Reverting, the server version will be selected.


Updating a project

The update project function updates the project by downloading changes, made by the other team members from the Perforce repository to the client’s computer.

  1. Select Tools > Teamwork > Update (or click on the Update button on the toolbar).


  2. This shows the Update Model(s) dialog box, it will show you the changes updated. Click OK to access the latest version of the project.


Resources

 
 
Last modified: 2008/01/29 17:52
 
 
Home | Recent Topics | Highlights | UML Diagrams | Tips and Tricks | Object-Relational Mapping
visual-paradigm.com Home | Training Center | UML Center | VP Gallery | Discussion Forum | UML Open Directory