BackFirst PageNext

Creating a HomeSite Project for Source Control

A HomeSite project is a collection of files that make up a development project. The actual physical location of project files and the types of files included in a project are determined by the needs of the development team. Typically, application code, documentation, media, testing materials, and other supporting files are included.

When you add a HomeSite project to source control for the first time, you are prompted to choose a source control provider based on the source control applications HomeSite detects on your system.

See Using Projects for Site Management for more information on building HomeSite projects.

Establishing a Working Directory

The working directory is the point of interaction for files in a project. If you create a project from an existing directory, that directory is automatically set as the working directory. You can build a working directory and create a project from it or create a new project first and then build the working directory.

The source control system is the central repository for your files once they are added to it. If you delete files from the working directory, they will not be deleted from source control unless you specifically remove them.

Note

Once you set the working directory for a project you cannot change it. To change the working directory, you have to create a new project and move your files to that project.

Generally, you can create a working directory on your workstation to develop and test your Web pages. The following configuration is required on your system:

When you get or check files out of source control, they go into that project's working directory on your local machine.

Adding a Project to Source Control

All source control access is via the project management tools in the Projects Resource tab. Once you have a source control system installed and a working directory configured for a project, you can add that project to source control.

To add a HomeSite project to source control:

This procedure assumes that you have an existing project, either local or remote, but that you have not previously added it to source control.


Note that because multiple source control applications are supported, these directions may not exactly match the interface of the application you are using, but they do follow the general steps for the supported vendors.

  1. Run the source control application and create a folder for the project.
  2. Right-click on a project name in the Project pane and select Source Control.
  3. If you are adding a project to source control for the first time, select Choose Source Control Provider, and select the system you use.
  4. Click Source Control > Map Project to Source Control and follow these steps:
  5. When the project mapping is completed, you can add the project files to the source control system.

To add the files to source control:

  1. Select the files that you want to add from the project file list.
  2. Right-click and select Source Control > Add Files to Source Control.
  3. Repeat this process as needed for all directories and files.

You can now manage your source control tasks by simply selecting a command from the Source Control context menu for one or more files from the project file list. When you add files to the project, you will be prompted to add them to source control. A small checkmark beside a file name in the project file list indicates the file is checked out.

Note

Because specific functions may vary from product to product, we recommend that you consult your source control documentation for detailed instructions.



BackFirst PageNext

allaire

AllaireDoc@allaire.com
Copyright © 1998, Allaire Corporation. All rights reserved.