Specifying Deployment Settings

You can specify deployment settings for the entire project or for each folder in the project. The Deployment tab of the Project Properties dialog provides these deployment options:

Each of the deployment options is described in the following sections.

Relative to the parent folder deployment location

Relative to the Parent Folder Deployment Location specifies that a folder will be deployed to a location that is relative to its parent folder or project. For example:

Parent Folder: MyDirectory/ParentFolder

Child Folder: MyDirectory/ParentFolder/ChildFolder

If the parent folder's deployment location is ServerDirectory/ParentFolder, then the child folder's deployment location will be ServerDirectory/ParentFolder/
ChildFolder
. Child paths are calculated for you automatically by HomeSite.

Relative to the Parent Folder Deployment Location is not available at the project level because the project functions as the root and has no parents.

Specific deployment location

Specific Deployment Location allows you to enter the exact path to which the folder will be deployed.

It is recommended that you use the Browse button to set a specific deployment location. The protocol for the pathname can vary depending on the location you choose for deployment. The following rules will help you enter pathnames manually should you choose to do so:

Typically, the pathname you enter does not include the server name for the host. HomeSite automatically appends the server name to the path when you choose which servers you want to deploy to in the Deployment Wizard.

Note If you do enter a server name as part of the deployment location, and that server is not chosen for deployment in the Deployment Wizard, you will see an error in the Results window.

You must set a specific deployment location at the project level.

Do not upload

Do Not Upload specifies that the folder and its contents will be ignored during deployment. Do Not Upload is not available at the project level.

Setting deployment options

Follow the instructions below to set deployment options for a project or its folders.

Note To specify deployment settings for the project:
  1. Open the project in the Projects tab (see Chapter 8, "Using Projects for Site Management" for information on using the Projects tab and opening projects).
  2. Right-click on the project root and choose Properties from the menu to see the Edit Project Properties dialog box.
  3. Click the Deployment tab.

    At the project level, you have to specify a Specific Deployment Location.

  4. Click the Browse button to choose the location via the Select Directory dialog box or enter the location in the Deployment Path box. (For information on enter pathnames manually, see "Specific deployment location".)

  5. Click OK.

    Your deployment settings are applied to the project.

Note To specify deployment settings for a folder:
  1. Right-click the folder and choose Properties from the menu to see the Edit Folder Properties dialog box.
  2. Click the Deployment tab.
  3. Choose a deployment option: Relative to the Parent Folder Deployment Location, Specific Deployment Location, or Do Not Upload. See the previous page for a description of these three options.
  4. If you chose Specific Deployment Location, click the Browse button to choose the location via the Select Directory dialog box or enter the location in the Deployment Path box.
    Note Do not enter a server name in the Deployment Location path. The server name is appended for you by HomeSite.

  5. Click OK.

    Your deployment settings are applied to the folder.