Using the Preferences page, you can define attributes used for testing projects by the servers. To define these preferences, do the following:
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. |
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. |
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. |
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. |