Constraints of a multiuser environment

Any object added or checked in to source control should be usable by all developers who have access permissions to that object in source control. This requires that the local paths for objects on different machines be the same in relation to the local root directory where the PocketBuilder workspace resides.

Project manager’s tasks

Before developers can start work on PocketBuilder objects in a workspace under source control, a project manager usually performs the following tasks:

Ongoing maintenance tasks of a project manager typically include:

Connections from each development machine to the source control project can be defined on the workspace after the initial setup tasks are performed.

Developers’ tasks

Each user can define a local root directory in a workspace connection profile. Although the local root directory can be anywhere on a local machine, the directory structure below the root directory must be the same on all machines that are used to connect to the source control repository. Only relative path names are used to describe the location of objects in the workspace below the root directory level.

After copying the directory structure for source-controlled PowerScript targets to the local root path, developers can add these targets to their local workspaces. The target objects can be synchronized in PocketBuilder, although for certain complex targets, it might be better to do the initial synchronization through the source control client tool or on a nightly build machine before adding the targets to PocketBuilder. (Otherwise, the target PKLs may need to be manually rebuilt and regenerated.)

For more information about getting the latest version of objects in source control, see “Synchronizing objects with the source control server”.