7.4 Setting up Eclipse Projects

The Virgo Web 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.

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 VWS instance without requiring any additional steps.

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

Migrating existing Java Projects

To migrate an existing Java Project to be used with the VWS, 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".

Creating Plan Projects

This is done by creating a new faceted project and then applying the OSGi Plan facet. This will give you access to features such as content completion when editing .plan files and deployment to configured servers from within the IDE.