Provide product information for the feature extension
We can provide version product information for our Feature Extensions by providing the installation with file...
extension/lib/versions/product_info.properties
We can add manually or using the featureManager script's installation option when...
- The subsystem manifest file in the feature archive contains a subsystem-content entry that points to the product information properties file.
The product information properties file can be installed if the feature being installed defines the IBM-Feature-Version.
The product information properties file in the feature archive (.esa) has the following path... wlp/lib/versions/filename.properties
The following properties can be specified in the product information properties file:
com.ibm.websphere.productId=yourProductID
com.ibm.websphere.productOwner=TheProductOwner
com.ibm.websphere.productVersion=yourProductVersion com.ibm.websphere.productName=yourProductName
com.ibm.websphere.productInstallType=yourProductInstallType
com.ibm.websphere.productEdition=yourProductEdition
com.ibm.websphere.productQualifier=yourProductQualifier
To override a particular feature extension information, include the following property in the product information properties file:
com.ibm.websphere.productReplaces=theProductIdToReplace
If our product is eligible for Getting Started Subcapacity Pricing (GSSP), set the following property to true in the product information properties file:
com.ibm.websphere.gssp=true
The following is an example of how to define subsystem entry content for installing the feature extension using the featureManager script, subsystem.mf:
Subsystem-ManifestVersion:1
...
Subsystem-Content: userProdExt; version="[1,1.0.100]", user.ext.version.info; type="file"; location:="lib/versions/user.ext.version.info.properties"
IBM-Feature-Version: 2Example output...
com.ibm.websphere.productId=XYZ Product ID
com.ibm.websphere.productOwner=XYZ Inc
com.ibm.websphere.productVersion=1.0.0
com.ibm.websphere.productName=XYZ User Product
com.ibm.websphere.productInstallType=Archive
com.ibm.websphere.productEdition=Enterprise Edition
Command:
productInfo version
Output:
Product name: Websphere Application Server Product version: 8.5.5.0
Product name: XYZ User Product
Product version: 1.0.0
Parent topic: Packaging and installing Liberty features