Publishing settings for Liberty
Publishing involves copying files such as application, resource files, and deployment descriptor files to the correct location for the server to find and use them. You can choose whether you want to publish your application on the server or run your application within the development environment without copying the application into the directories of the server.
About this task
The Run applications directly from the workspace publishing option requests the server to run your application from the workspace.
This publishing option publishes faster when an application contains a single root, as opposed to containing multiple roots. The workbench might require additional processing time to publish an application with multiple roots. To determine whether the structure of your application contains a single or multiple roots, use the Project Structure Validator. For details, see Creating and configuring Java EE projects using wizards.
- If you delete your workspace, the server can no longer find your application. As a result, if you did not put your application under source control management and the workspace is deleted, you can lose your application from your file system.
- If you delete an application from the workspace without removing it from the server, the server can no longer find your application. As a result, you might encounter errors when starting the server because the server tries to start the missing application from the workspace.