When you develop a Liberty feature by using the WebSphere® Application Server
Developer Tools, you create a Liberty feature project that packages
the Liberty feature in a compressed file. To install the Liberty feature,
you must extract the contents of the compressed file to the Liberty
profile environment.
About this task
The compressed file has the following structure:
/lib
OSGi bundle JAR files
.
.
.
/features
manifest file
Procedure
To install a Liberty feature to the Liberty profile,
complete the following steps:
- In your workspace, right-click your Liberty feature project
and select .
- In the To ESA file field, specify
the location and name of the compressed file to which you want to
export the Liberty feature project.
- Click Finish to export the Liberty
feature project to the specified location.
- Extract the contents of the compressed file to the ${wlp.user.dir}/extension directory.
- Add the feature name to the list of configured features
in your server.xml file; you must prefix the
feature name with usr:.
For example:
<featureManager>
<feature>usr:sample-1.0</feature>
</featureManager>