
Hitachi Embedded Workshop User Manual
134
Figure 9.2: Create SourceSafe Project
The HEW has now created the necessary projects within Visual SourceSafe and sets-up the version control
toolbar and menu for immediate access. However, although the Visual SourceSafe projects themselves have
been created, no files have been added to them.
9.1.2
Adding files to Visual SourceSafe
The previous section has only established the mappings between the project directory on your hard disk (i.e. the
working directory) and the project directory in Visual SourceSafe (i.e. the controlled directory). Although the
project directory (and any subdirectories) on your hard disk may contain many source files whereas the directly
its mapped to in Visual SourceSafe will be initially empty.
Firstly, you must select Visual SourceSafe as the version control system.
To add a file or files to Visual SourceSafe:
1. Select the file(s), which you would like to add to Visual SourceSafe. You may also select a file folder,
project folder, a workspace folder or combination thereof. When selecting the project or workspace
folder then the system files will be added to the selected file list. For example, selecting the project folder
will also add the project file to the file list. If the project file is then checked out and the version is newer
than when it was last loaded you will be asked whether you want to reload the project.
2.
Click the Add Files toolbar button (
) or select the [Tools->Version Control->Add Files] menu
option.
When you add files to Visual SourceSafe the local versions in your working directory will become read only. To
check that the add files operation was carried out as you expected, or to quickly review the status of all of the
files in a project:
1. Select the poject folder whose files you want to check.
2.
Click the Status of Files toolbar button (
) or select the [Tools->Version Control->Status of Files]
menu option.
3.
The status of each file will be displayed in the “Version Control” tab of the “Output” window. The
information shown includes whether the file is added to the project, if the file is checked out and, if it is
checked out, who did so.