WAS v8.5 > Deploy applications > Deploy applications to the Liberty profile > Add and running an application on the Liberty profile using WebSphere Studio > Publishing your application using WebSphere Studio
Publishing settings for a WebSphere Application Server V8.5 Liberty profile
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. 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.
Run applications directly from the workspace
The Run applications directly from the workspace publishing option requests the server to run your application from the workspace.
This publishing option should publish faster when an application contains a single root, as opposed to containing multiple roots, because the server expects the structure of an application to have only a single root. As a result, 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.
CAUTION:
When using Run applications directly from the the workspace publishing option, the server can lose track of your application under the following scenarios:
- If we 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, we can lose your application from your file system.
- If we 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.
- In the Servers view, double-click your WebSphere Application Server V8.5 Liberty profile to open the server editor.
- Click the Overview tab.
- Select Run applications directly from the workspace.
- Save and close the editor.
Parent topic: Publishing your application using WebSphere Studio
|