Creating repository workspaces

A repository workspace on your machine is the replica of the repository workspace that is available on the server. You can create a repository workspace, and load the components that contain project artifacts. After working with the project artifacts, you can deliver them so that the artifacts in your sandbox and in the repository workspace on the server are in sync.

About this task

You can create a repository workspace either from a stream or from My Source Control. If you create a repository workspace from a stream, it is presumed that the stream is the flow target for the project artifacts.

Procedure

  1. In the Team Artifacts tool window, right-click My Source Control and click New Repository Workspace.
  2. Select a repository connection.
    If you are not logged on to the repository, click Log on.
  3. If you do not want to flow changes to any stream:
    1. Click Create empty repository workspace, and click Next.
    2. Type a workspace name and click Next.
    3. On the Read Access Permission page, select who can have read access to the repository workspace and click Finish.
  4. To flow changes to a stream:
    1. Click Create from stream, select a stream, and click Next.
    2. Type a workspace name and click Next.
    3. On the Read Access Permission page, select who can have read access to the repository workspace and click Next.
    4. Select the components that you want to add to the workspace.
    5. If you do not want to load selected components, clear Load repository workspace after creation.
    6. Click Finish.
  5. To create a repository workspace from a snapshot:
    1. Click Create from snapshot and click Next.
    2. On the Select a Snapshot page, specify search criteria and select the snapshot. Click Next.
    3. Type a workspace name and click Next.
    4. On the Read Access Permission page, select who can have read access to the repository workspace and click Finish.
  6. Optional: To configure the default name and visibility that displays in the New Repository Workspace wizard when you create a repository workspace from a stream:
    1. In the Eclipse client, open the project area editor and click the Process Configuration tab.
    2. Go to Project Configuration > Configuration Data > Source Control and click New Workspace Configuration.
      Note: To change the default name and visibility from the web client, go to the application administration page and navigate to the project area. In the left pane, expand Source Control and click New Workspace Configuration.
    3. Use the variable ${stream-name} for the stream name and ${user-id} for the user id.
    4. Select the default visibility as Private, Public, or Project.
    5. Save the changes.

What to do next

You can add new components to the empty repository workspace.