|
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 编辑 ] |
|