[8.5.5.7 or later]

Packaging an OSGi subsystem project

You can package your OSGi subsystem project in a subsystem file (ESA). You can also include bundles in your ESA file.

Before you begin

Important: Applicable to Liberty, Liberty Core

Create an OSGi subsystem project. For more information about creating one of these projects, see: Creating an OSGi subsystem project.

Procedure

  1. Click File > Export > OSGi > OSGi Subsystem (ESA) > Next.
  2. In the Project field of the OSGi Subsystem Export window, select your OSGi subsystem project.
  3. In the To ESA file field, either specify the location and name of the ESA file to which you want to export your project, or click Browse... and select that ESA file.
    Remember: OSGi subsystem projects can be deployed only as subsystem files (ESA).
  4. In the Bundles to include field, select the resources that you want to export.
    1. Optional: To change the version of a resource that you want to include, select the resource and click Version....

      The highest level of a resource is displayed by default.

    2. Optional: In the Version Selection window, select the version that you want to use and click OK.
    3. Optional: If you do not want the qualifier to be replaced with a time stamp, clear Replace qualifer with time stamp.
    4. Optional: If you want to include your source files, select Export source files.

      Only binary files are packaged by default.

  5. Click Finish.

Results

The OSGi subsystem project is exported as an ESA file to the location that you specified.

What to do next

You can deploy your OSGi subsystem project. For more information about deploying your project, see: Deploying an ESA file that contains an OSGi subsystem project.

Icon that indicates the type of topic Task topic
Timestamp icon Last updated: July 17, 2017 21:58

File name: tpackageosgisubsystem.html