★ wanayoo — archive 1999 http://codeforge.com/help/StblWork.htmlNouvelle recherche | Portail wanayoo

Stable and Working Directories

C-Forge stores all the project files in two directories. The Stable Directory contains the stable versions of files; the Working Directory contains the work in progress. This division enables a single user to make changes without affecting the whole project. For the projects imported without the Use working project option, no Working Directory will be created. The stable versions of files in such projects are edited directly.

The stable versions are displayed in the Dependency Tree of the Project Desktop. The working versions are displayed in the Working Files Desktop of the Project Desktop.

When a file is dragged from the Dependency Tree to the Working Files Desktop C-Forge creates a copy of that file in the Working Directory. The file in the Stable Directory is then reserved and cannot be modified by other users. The file will remain locked until the changes are published by dragging the file back from the Working Files Desktop to the Dependency Tree. If the file was included in the Revision Control System, the Check-In New Revision dialog will appear. The files in the Working Files Desktop can be unreserved (and changes to them discarded) by dragging them into the Trash Can drop-site.

When a project is compiled by C-Forge, the source files are obtained from one of two directories. The first area searched is the Working Directory, the second is the Stable Directory. The object and executable files generated by the build are placed into the corresponding directory structures.

A Stable Directory can be created in any accessible area of the file system. For Imported Projects the directory of the Makefile is used as the Stable Directory by default. C-Forge creates the Working Directory in home directory of the user that is specified in Working Directory text field of C-Forge options dialog.

Each project has a seperate Working Directory.


Last modified: Thursday, 30-Sep-1999 01:46:42 MDT