Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Libra/User Guide"

(New page: TODO)
 
Line 1: Line 1:
TODO
+
== Installation ==
 +
The Libra features can be installed from the [http://download.eclipse.org/releases/indigo/ p2 repository] of the Indigo Simultaenous Release (since [http://eclipse.org/webtools/development/news/3.3M6/libra.php Indigo M6]). As a prerequisite you may install [http://www.eclipse.org/downloads/packages/node/526 Eclipse IDE for Java EE Developers].
 +
 
 +
The update site contains:
 +
* '''OSGi Bundle Facet''' feature that introduces:
 +
*# A new facet '''OSGi Bundle''' for Dynamic Web, JPA and Utility projects.
 +
*# Wizard for converting WTP standard projects to OSGi Enterprise bundle projects:
 +
*#* Dynamic Web projects to Web Application Bundle projects
 +
*#* JPA projects to Persistent Bundle projects
 +
*#* Utility projects and simple Java projects to OSGi Bundle projects
 +
::Both options modify project's '''MANIFEST.MF''' in order to become a valid OSGi bundle.
 +
 
 +
The facet may be enabled during the project creation or after that from the '''Properties''' page of the project.
 +
The wizard is available from project's context menu '''Configure > Convert to OSGi Bundle Projects...'''
 +
 
 +
'''Note''' that you may need to adjust your target platform accordingly.
 +
 
 +
* '''WAR Products''' feature which provides [http://wiki.eclipse.org/RAP/Equinox_WAR_products WAR deployment for Equinox based applications]<br/>
 +
 
 +
[[Image:LibraInstall.png]]
 +
 
 +
== Create new Web Application Bundle ==
 +
 
 +
# Call the New Dymanic Web Project wizard: ''New > Project... > Web > Dynamic Web Project''
 +
# Enter the necessary project information like ''Project name'', ''Target runtime'', etc.
 +
# Add the ''OSGi Bundle'' facet in the Configuration:
 +
## Click on the ''Modify...'' button in the ''Configuration'' group.
 +
## Choose the ''OSGi Bundle'' facet in the ''Project Facets'' dialog and click OK.
 +
# Click ''Finish'' to create the Web Application Bundle project.

Revision as of 03:26, 21 October 2011

Installation

The Libra features can be installed from the p2 repository of the Indigo Simultaenous Release (since Indigo M6). As a prerequisite you may install Eclipse IDE for Java EE Developers.

The update site contains:

  • OSGi Bundle Facet feature that introduces:
    1. A new facet OSGi Bundle for Dynamic Web, JPA and Utility projects.
    2. Wizard for converting WTP standard projects to OSGi Enterprise bundle projects:
      • Dynamic Web projects to Web Application Bundle projects
      • JPA projects to Persistent Bundle projects
      • Utility projects and simple Java projects to OSGi Bundle projects
Both options modify project's MANIFEST.MF in order to become a valid OSGi bundle.

The facet may be enabled during the project creation or after that from the Properties page of the project. The wizard is available from project's context menu Configure > Convert to OSGi Bundle Projects...

Note that you may need to adjust your target platform accordingly.

LibraInstall.png

Create new Web Application Bundle

  1. Call the New Dymanic Web Project wizard: New > Project... > Web > Dynamic Web Project
  2. Enter the necessary project information like Project name, Target runtime, etc.
  3. Add the OSGi Bundle facet in the Configuration:
    1. Click on the Modify... button in the Configuration group.
    2. Choose the OSGi Bundle facet in the Project Facets dialog and click OK.
  4. Click Finish to create the Web Application Bundle project.

Back to the top