Using SoftBench

Setting Up a Project

4.Select Create.

5.Once the project is cloned, make any needed changes to the project. For example, you may need to change the build instructions, add or remove files, or remove or define additional targets.

6.Then, make sure you have the project files under your local workspace root. For example, you may need to copy the files or check out the files from configuration management.

Repartitioning an Existing Project

SoftBench provides the ability to restructure a project, creating a second project from parts of the original project. You may want to do this as your project outgrows a simple model or as you add developers to your team. During this process, you choose whether the new project is a subproject of the current project. You also choose whether the selected targets and files remain in the current project.

To restructure a project:

1.Select the files and/or targets to be restructured. Selecting targets automatically includes the source files required in the project description data.

2.Choose "File: Convert to Project…".

3.In the "Convert Files to Project" dialog box, provide the project name, local workspace root, and descriptive comment.

When you change your local workspace root to point somewhere further up or down its current hierarchy, SoftBench does not recalculate the relative path names. You can select the files in the project and choose "Modify Properties…" to change the relative path names.

4.Decide whether to make the new project a subproject of the current project.

5.Decide whether to remove the selected files and targets from the current project or leave them shared by both projects.

6.Select Create.

7.Once the project has been restructured, make any needed changes to both projects. You may need to change build instructions, add or remove files, or remove or define additional targets in the new project.

54

Chapter 2