Eclipse Web Tools Platform
Libra 0.1 | Back |
This is the first milestone release of the Libra project. It delivers two features: Libra can be installed by following these instructions.
OSGi Bundle Facet
Creating Bundle Projects
-
The OSGi Bundle facet adds the Plug-in nature to any project that takes
advantage of the Faceted Project Framework. This effectively allows any
project to behave as an OSGi Bundle project.
- OSGi Java Bundle - creates a plain Java OSGi Bundle project.
- OSGi Persistent Bundle - creates a Persistent Bundle project.
- OSGi Web Application Bundle - creates a Web Application Bundle project.
The OSGi Bundle facet integrates well with WTP's Dynamic Web Project and JPA project wizards. Combining the OSGi Bundle facet with the Dynamic Web facet and the JPA facet results in the creation of OSGi Web Application Bundles and OSGi Persistent Bundles, respectively.
A few facet configurations are defined for convenience:
![OSGi Bundle Facet](libra/osgi_bundle_facet.png)
Basic OSGi Bundle manifest entries can be configured during facet installation in the WTP wizards.
![OSGi Bundle Facet Configuration Wizard Page](libra/osgi_bundle_facet_install_page.png)
When uninstalling the facet from a project, an uninstall dialog is shown with options for various uninstall strategies.
![Facet Uninstall Wizard Page](libra/osgi_bundle_facet_uninstall_page.png)
Wizard For Converting Existing Projects to OSGi Bundle Projects
-
Existing projects can easily be converted into OSGi Bundle projects by invoking
Convert -> Convert to OSGi Bundle Projects action from the context menu
of the selected projects.
![Convert to OSGi Bundle Projects wizard](libra/convert_to_osgi_bundle_projects_wizard.png)
WAR Products
Initial Contribution
-
The WAR Products are similar to Eclipse Products, but much more
lightweight. They can be used to export a Server-Side Equinox
Application into a .war archive.
All you have to do to export a RAP application is to create a .warproduct based on a working launch configuration and press 'export'. The exported .war file is ready to deploy. There is a function included that validates your .war file content before you've exported it.