기능 확장에 대한 제품 정보 제공

기능 확장에 대한 버전 제품 정보를 제공할 수 있습니다.

기능 확장의 lib/versions 디렉토리에 고유하게 이름 지정된 제품 정보 특성 파일이 포함된 설치를 제공하여 기능 확장에 대한 버전 제품 정보를 제공할 수 있습니다. 파일 확장자는 .properties여야 합니다.

다음 조건 하에서 featureManager 스크립트의 설치 옵션을 사용하거나 수동으로 버전 제품 정보를 추가할 수 있습니다.

  • 기능 아카이브의 서브시스템 Manifest 파일에는 설치 중인 제품 정보 특성 파일을 가리키는 서브시스템 컨텐츠 항목이 포함되어 있습니다.
  • 제품 정보 특성 파일은 설치 중인 기능이 IBM-Feature-Version을 정의하는 경우에만 설치할 수 있습니다.
  • 기능 아카이브의 제품 정보 특성 파일(.esa)의 경로는 wlp/lib/versions/filename.properties입니다.
제품 정보 특성 파일에서 다음과 같은 특성을 지정할 수 있습니다.
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.productReplaces=theProductIdToReplace
다음은 featureManager 스크립트인 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

제품 정보 특성 파일에서 지정되는 제품 이름 및 버전 항목을 표시하는 version 옵션을 사용하는 productInfo 스크립트의 출력을 보여주는 예제는 다음과 같습니다.

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

주제의 유형을 표시하는 아이콘 참조 주제

파일 이름: rwlp_providing_product_info.html