Putting VPM Enterprise Files Under Source Control

When you create a VPM Enterprise project, VPME puts most of the files that make up the project into the project directories. However, the following files in the VPM Enterprise directories are part of VPME application projects as well:

·       VPM-level class libraries

·       Bitmap files used on forms or as icons on toolbar buttons.

Consequently, you must put these VPM Enterprise files under source control.

Tip – Team Development: Putting VPM Enterprise files under source control is normally a task performed by the Visual SourceSafe Administrator on the computer set up as the Visual SourceSafe database server (see Set Up Visual SourceSafe Database Server).

You must put the VPM Enterprise files that are built into VPME applications under source control. To do that you must first create Visual SourceSafe projects to hold the VPME files that need to be put under source control. Then, the first time you put a VPM Enterprise project under source control, the VPME files that need to be put under source control will be automatically added to the VSS projects you create. See Source Control for VPME Projects to learn how to put a VPM Enterprise project under source control.

Ø To create the Visual SourceSafe projects for VPME files

1.   Run Visual SourceSafe.

2.   Visual SourceSafe displays its login dialog.

   If the Visual SourceSafe database you want to use is not displayed in the Database text box, click the Browse button to select the database you want. Click OK. Visual SourceSafe displays its interface.

    

3.   Select the $/ folder and click the Create Project button.

4.   Create VPME91 Project: In the Create Project dialog create a project named “VPME91”, the name of the VPME home folder. Click OK.

5.   Create BITMAPS Project: Select the VPME91 folder and click the Create Project button. In the Create Project dialog create a project named “BITMAPS” by entering “BITMAPS” in the Project text box. Click OK.

6.   Create PRGS Project: Select the VPME91 folder and click the Create Project button. In the Create Project dialog create a project named “PRGS”. Click OK.

7.   Your Visual SourceSafe interface should now look like this:

8.   Exit Visual SourceSafe.

Your VPM Enterprise files are now set up to be put under source control the next time you put a VPME project under source control. But to make sure that everything is set up correctly, perform the check described in the tip below.

Tip  – Check Working Folders: Click on each of the three VSS projects you have created and make sure that each one has a VSS Working Folder set to the appropriate folder on your computer. The VPME91 project should have a working folder set to the \VPME91 folder on your computer. The BITMAPS project should have a working folder set to the \VPME91\bitmaps folder on your computer. The PRGS project should have a working folder set to the \VPME91\prgs folder on your computer.

Note: If you are working on the Visual SourceSafe database server computer and if that computer does not have a VPM Enterprise license, no working folders can be set for that computer.

More:

VPME Files Under Source Control