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
- Click .
- In the Project field of the OSGi Subsystem Export
window, select your OSGi subsystem project.
- 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).
- In the Bundles to include field, select the resources that you want to
export.
- 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.
- Optional: In the Version Selection window, select the version that you want to use
and click OK.
- Optional: If you do not want the qualifier to be replaced with a time stamp, clear Replace
qualifer with time stamp.
- Optional: If you want to include your source files, select Export source
files.
Only binary files are packaged by default.
- 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.