8.4 Setting up Eclipse Projects

The SpringSource dm Server supports different deployment units as discussed earlier in this guide. The Tools define specific project types to support the development of OSGi and PAR projects.

8.4.1 Creating New 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 dm Server instance without requiring any additional steps.

Those wizards create the required MANIFEST.MF file and appropriate manifest headers.

8.4.2 Migrating existing Java Projects

To migrate an existing Java Project to be used with the dm Server, the Tools provide a migration action that adds the required 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 "Spring ToolsConvert to OSGi bundle project".