51Testing软件测试论坛

标题: RFT upgrate 失败之问题解决 [打印本页]

作者: zhaoj03    时间: 2006-11-17 16:35
标题: RFT upgrate 失败之问题解决
RFT 很脆弱,升级的时候非常容易失败,本人经过多次失败后总结了几条小小的经验和大家分享,希望对大家有帮助。

1. 重装RFT,要清理安装目录下的文件,XP SP2的uninstall可能会有问题,大家可以去IBM网站上寻找:
Create a mapped drive.
Open a command prompt and type: subst <unused drive letter>: <RSA installed path directory
Example: subst Z: C:\Program Files\IBM\SDP\6.0\updater
In the above example, change the directory to Z: and then delete. If the path is now shorter than 256 characters, it will delete. If it does not delete, add more folders to the installed path directory.

Rename the folders in the path until the length of the path is fewer than 256 characters.
Delete the install directory from the command line.
Open a command prompt and type: rmdir \s <RSA_install_ path_directory>
Example: rmdir /s C:\Program Files\IBM\SDP\6.0

2. Start|IBM Rational|updater, Preference|updated website, 改变upgrade路径到本机升级包下的policy.xml文件
注意查看文件内容,升级jar文件的路径写法是否正确
<?xml version="1.0" encoding="UTF-8"?>
<update-policy>
  <url-map pattern="com.ibm.orca.product.updater"
    url="file:./60/update/site_601.xml"/>
</update-policy>


3. 如果还是不可以,尝试下面的方法
- Launch RFT java scripting.
- Help|Software updates|IBM product updater

[ 本帖最后由 zhaoj03 于 2006-11-17 16:43 编辑 ]
作者: 王娇龙    时间: 2006-12-1 11:19
鼓励~
作者: ralin    时间: 2007-1-17 16:24
恩,不错,提供了解决办法
作者: syed    时间: 2007-1-23 16:04
标题: update RFT from 6.1.0 to 6.1.1.1
If you install RFT and RMT, and want to upgrade RFT from local downloaded package file, you need merge the update-policy of RFT and RMT, to make them upgrade at the same time.

[ 本帖最后由 syed 于 2007-1-23 16:07 编辑 ]




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2