The SpringSource Application Platform supports different deployment units as discussed earlier in this guide. The AP Tools define specific project types to support the development of OSGi and PAR projects.
There are two New Project Wizards available within Eclipse that allow for creating new OSGi bundle and PAR projects. The projects created by the wizards are deployable to the integrated Application Platform instance without requiring any additional steps.
Those wizards create the required MANIFEST.MF file and appropriate manifest
headers. The New PAR Project wizard also creates a file called par.xml in
the root of the PAR project that allows users to manage the bundles contained in the
PAR.
![]() | Note |
|---|---|
The par.xml file is only required for tooling to keep track of the
depending projects. It is not required by the Application Platform at runtime.
|
To migrate an existing Java Project to be used with the Application Platform, the tooling provides a migration action that adds the required tooling meta data to the project. The migration will not change your project's source layout.
Use the context menu action of a project in the Package or Project Explorer and select " → ".