Provide product information for your feature extension

You can provide Version Product information for your Feature Extension

You can provide Version Product information for your Feature Extensions by providing the installation with a uniquely named product information properties file in the lib/versions directory of the extension. The file extension must be .properties.

You can add Version Product information manually or by using the featureManager script's installation option under the following conditions:

  • The subsystem manifest file in the feature archive contains a subsystem-content entry that points to the product information properties file that is being installed.
  • The product information properties file can be installed only if the feature that is 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
If you want to override a particular feature extension information, include the following property in your product information properties file:
com.ibm.websphere.productReplaces=theProductIdToReplace
The following is an example of how to define subsystem entry content for installing the feature extension by 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: 2

The following is an example that shows the output of the productInfo script using the version option that shows the product name and version entries that are specified in the product information properties file:

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: 16.0.0.2

Product name: XYZ User Product
Product version: 1.0.0