可以使用 Installation Manager 命令行来将 Web 2.0 and Mobile Toolkit 回滚到较早版本。
开始之前
限制: 为使用此过程,系统上必须安装 Installation Manager V1.5 或更高版本。
在回滚过程中,Installation Manager 必须访问较早版本的软件包中的文件。缺省情况下,这些文件将在您安装软件包时存储在您的计算机上。如果您更改缺省设置或删除已保存的文件,那么 Installation Manager 将需要访问用于安装该较早版本的存储库。
回滚 Web 2.0 and Mobile Toolkit 的最低存储库要求:Installation Manager 必须对以下存储库具有访问权:
- 系统上安装的 Web 2.0 and Mobile Toolkit 当前级别的存储库
- 建议:Web 2.0 and Mobile Toolkit 的目标回滚级别的存储库
过程
- 可选: 如果存储库需要用户名和密码,请创建密钥环文件以访问此存储库。
有关创建用于 Installation Manager 的密钥环文件的更多信息,请阅读 IBM® Installation Manager V1.5 信息中心。
提示: 创建密钥环文件时,如果 imutilsc 命令无法找到所指定的 URL,请在存储库 URL 位置的末尾追加 /repository.config。
- 登录系统。
- 切换到 Installation Manager 安装目录中的 eclipse/tools 子目录。
- 使用 imcl 命令来回滚 Web 2.0 and Mobile Toolkit。
![[AIX]](../images/aixlogo.gif)
![[HP-UX]](../images/hpux.gif)
![[Linux]](../images/linux.gif)
./imcl rollback com.ibm.websphere.W2MTK.v11_version
-repositories source_repository
-installationDirectory installation_directory
-preferences preference_key=value
-properties property_key=value
-keyring keyring_file -password password
-acceptLicense
imcl.exe rollback com.ibm.websphere.W2MTK.v11_version
-repositories source_repository
-installationDirectory installation_directory
-preferences preference_key=value
-properties property_key=value
-keyring keyring_file -password password
-acceptLicense
有关使用 Installation Manager 的更多信息,请阅读 IBM Installation Manager V1.5 信息中心。
- 可选: 列出所有已安装的软件包以验证回滚。
![[AIX]](../images/aixlogo.gif)
![[HP-UX]](../images/hpux.gif)
![[Linux]](../images/linux.gif)
./imcl listInstalledPackages -long
imcl.exe listInstalledPackages -long