Defining the Server preference

Using the Preferences page, you can define attributes used for testing projects by the servers.  To define these preferences, do the following:

  1. From the Window menu, select Preferences.
  2. In the Preferences page, select Server.
  3. Specify one or more of the following settings by selecting the appropriate check box:
    Option Description
    Automatically publish before starting servers Specifies that all the files should automatically be published before starting the server.
    Keep publishing dialog open after publishing Specifies that a dialog box opens to display messages when files are published.
    Automatically restart servers when necessary Specifies that the server tools can automatically restart the server when it detects that the server must be restarted to handle resource changes in the workspace.
    Prompt before making irreversible changes within an editor Specifies that the server tools will prompt you before you make a change in a editor that cannot be undone.
    Create server resources in workspace Specifies that when a server is created to also create its server and server configuration files to be displayed in the workspace. For example, when this check box is selected; in the Navigator view, these server resources appear in the server project folder. By default, this option is disabled and the resources are saved as metadata.
  4. Under Save dirty editors before starting server, specify the preferences for saving the changes in any open server editors before starting the server by selecting one of the following:
    Option Description
    Never Specifies that the server tools will not save the changes in any open editors before starting the server.
    Prompt Specifies that the server tools will prompt you before saving any changes in an open server editor.
    Auto-save Specifies that the server tools will automatically save any changes in an open server editor before starting the server.
  5. Under Repair invalid servers, specify the settings that you want to use when servers become invalid by selecting one of the following: 
    Option Description
    Never Specifies that the server tools will not repair servers that are no longer valid.
    Prompt Specifies that the server tools will prompt you before they repair a server that is no longer valid. This is the default value.
    Automatically Specifies that the server tools will automatically repair a server when it detects that a server is no longer valid.
  6. Under Publishing method, specify the publisher that you want to use by selecting one of the following:
    Option Description
    Smart publish Specifies that you want the server tools to publish to the server only the changed resources. All resources that no longer exist in the workspace are deleted on the server. This is the default value.
    Prompt user Specifies that you want to choose which resources to publish to the server or to remove from the server.
    Publish all Specifies that you want to publish all resources to the server, regardless of whether they have changed. No resources are deleted from the server.
  7. Click Apply and then OK to save your changes.
Terms of use | Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.