6.4. Deploying Applications

Currently the AP Tools support the direct deployment of WTP Dynamic Web Projects, OSGi bundle and PAR projects to the Application Platform right within Eclipse.

To deploy an application to the SpringSource Application Platform just bring up the context menu on the configured SpringSource AP runtime in the Servers view and choose "Add or Remove Projects...". In the dialog select the desired project and add it to the list of "Configured projects".

[Note]Note
Deploying and undeploying an application from the Application Platform certainly works while the SpringSource Application Platform is running but you can also add or remove projects if the SpringSource Application Platform is not running.

Once an application is deployed on the SpringSource Application Platform the tooling support will automatically pick up any change to source files, like Java and XML context files, and refresh the deployed application on the SpringSource Application Platform.

There is configurable wait time between a change and the actual refresh. The wait time can be configured on the configuration editor of the runtime. To bring up that editor double-click on the configured SpringSource AP instance in the Servers view.