可以使用 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。
- 登录系统。
- 使用响应文件来回滚 Web 2.0 and Mobile Toolkit。
切换到 Installation Manager 安装目录中的 eclipse/tools 子目录,然后回滚 Web 2.0 and Mobile Toolkit。
注: 程序可能会将重要的安装后指示信息写入到标准输出。
有关使用 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
示例
以下是用于将 Web 2.0 and Mobile Toolkit 回滚到较早版本的响应文件的示例。
<?xml version="1.0" encoding="UTF-8"?>
<agent-input>
<server>
<repository location='https://www.ibm.com/software/repositorymanager/com.ibm.websphere.W2MTK.v11'/>
</server>
<profile id='Web 2.0 and Mobile Toolkit V1.1' installLocation='C:\Program Files\IBM\WebSphere\AppServer\Web20Mobile'>
<data key='eclipseLocation' value='C:\Program Files\IBM\WebSphere\AppServer\Web20Mobile'/>
</profile>
<rollback>
<offering profile='Web 2.0 and Mobile Toolkit V1.1' id='com.ibm.websphere.W2MTK.v11' version='1.1.0.20110427_2247'/>
</rollback>
</agent-input>