Publishing involves copying
files (projects, resource files, and server configurations) to the correct
location for the server to find and use them. In the test environments, these
files may already be in the correct location. In some cases, temporary copies
of the server configurations may be created.
You can either publish your application automatically
or manually. If the Automatically publish when starting servers check
box on the Server preferences page ()
is selected, the server tools check to see if your project and files on the
server are synchronized. If they are not, the project and the files are automatically
updated when the server is either started or restarted.
To
publish your application manually you can complete one of the following in
the Servers view:
- Select the server and then click the Publish
to the server
icon
located on the toolbar.
- Right-click the server and then select Publish.
All the projects defined in the server configuration
that are associated with the selected server are published. The resources
in these projects are transferred to the location that is defined by the server.