02.05.2013 Views

User Guide - MKS

User Guide - MKS

User Guide - MKS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Controlling Sandboxes<br />

the current revision of the subproject in your sandbox. Member<br />

revisions are unaffected.<br />

When you snapshot a sandbox non-recursively the subproject<br />

elements refer to the exact type they were in the sandbox at the time<br />

the snapshot is performed, so configured subprojects remain<br />

configured. For more information, see “Configuring a Subproject” on<br />

page 126.<br />

The following is the recommended scenario for when to take a sandbox<br />

snapshot in a development environment:<br />

1 You are in a situation where you have been working in a regular<br />

sandbox, but should be working in a variant sandbox.<br />

2 Instead of checking in your changes to the main development path,<br />

check in (or merge in) your changes on a branch.<br />

3 Snapshot the sandbox.<br />

4 Create a development path from the project revision that corresponds<br />

to the snapshot (see “Creating a Development Path” on page 141).<br />

5 Create a variant sandbox from the development path you created, and<br />

then continue work on that development path.<br />

TIP<br />

From the CLI, you can specify an existing development path at the time you<br />

take the snapshot. For more information, see the Source Integrity Enterprise<br />

Edition CLI Reference <strong>Guide</strong>.<br />

The following is the recommended scenario for when to take a sandbox<br />

snapshot in a build environment:<br />

1 Checkpoint the project.<br />

2 Create a build sandbox for the build.<br />

3 The build fails, but since development has continued, some of the<br />

required members are at later revisions than the last checkpoint.<br />

4 Perform a resynchronize of the required revisions to fix the build (you<br />

can use resync cp).<br />

5 Snapshot the sandbox, and use the project revision created by the<br />

snapshot to recreate the build in the future using a build sandbox,<br />

instead of using the original project checkpoint.<br />

255

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!