Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.2 KB

uninstall-feature.md

File metadata and controls

33 lines (24 loc) · 1.2 KB

uninstall-feature task


The uninstall-feature task uninstalls a feature from the Liberty runtime.

Parameters

Parameters supported by this task in addition to the common parameters.

Attribute Description Required
name Specifies the feature name to be uninstalled. The name can a short name or a symbolic name of a Subsystem Archive (ESA file). Yes, only if there are no nested features

Examples

  1. Uninstall a single feature using the name parameter.
<wlp:uninstall-feature installDir="${wlp_install_dir}" name="mongodb-2.0"/>
  1. Uninstall one or more features using nested feature elements.
<wlp:uninstall-feature installDir="${wlp_install_dir}">
        <feature>mongodb-2.0</feature>
        <feature>oauth-2.0</feature>
</wlp:uninstall-feature>

Nested Feature Elements

Element Description Required
feature Specifies the feature name to be uninstalled. The name can a short name or a symbolic name of a Subsystem Archive (ESA file). No