8.6 Deploying Applications

Currently the AP Tools support direct deployment of WTP Dynamic Web Projects, OSGi bundle and PAR projects to the Application Platform from directly 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 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 -- for example, Java and XML context files -- and refresh the deployed application on the Platform.

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