"SfR Fresh" - the SfR Freeware/Shareware Archive 
![]()
|
3. Creating a Sample ProjectFirst, make sure that you understand the revision management model of CVS and RCS. Have a look at the corresponding man pages and the Revision Browser documentation too. This topic is very complex so it is important that you have some basic knowledge about it. It is necessary to set up the root module to create a new project. The root module is the root of the module hierarchy of your project. You can compare this hierarchy with the structure of your directories and files at your hard disc, where the root module is the root directory. This directory contains your sub projects and their project files. In addition to the hierarchy of your project each module contains information about the history of your software development. This history is stored in the repository. A repository is a kind of database. The function of this database is to record the proceedings of your development. This is also called version control. For our first example we want to use the root module directory named "tutorial". Use Project->New Project ... in the Project Browser to create it.
The directory for the repository can be a directory on the local machine or on a
remote machine. The following table explains the differences:
In this example we use the following directories on the local machine:
Repository Directory: $HOME/repository
![]() Figure 2: Creating a Root Module After confirming the creation of the directory the Revision Browser initializes your root module and asks to create "Makefile" and "<arch>.def". Normally, you can confirm that but you can answer that question with No if you have your own Makefile. In this case you should include the generated "Makefile.inc", which is automatically updated, in your own Makefile.
If you have only one module in the WIPEOUT Standard edition, than the created module "tutorial" is the active module. An active module means that all WIPEOUT components use the properties of this module. If you start the Make Shell for instance, the Makefile of this module would be executed. The Class Browser will scan all available classes in module "tutorial". The active module is Set in the Project Browser.
![]() Figure 3: The Active Module "tutorial"
Open the Revision Browser window from the
![]() Figure 4: Revision Browser At the moment there are only two files: Makefile and Linux.def. They were automatically created and added while initializing the new project. In the next chapter we will add some source code files.
|
| | | |