Eclipse Test and Performance Tools Platform,第 3 部分: 测试应用程序
2009-12-19 00:00:00 来源:WEB开发网假设已经下载了以下文件:
jre-1_5_0_07-linux-i586.bin
eclipse-SDK-3.2-linux-gtk.tar.gz
xsd-runtime-2.2.0.zip
tptp.platform.runtime-TPTP-4.2.0.zip
tptp.test.runtime-TPTP-4.2.0.zip
emf-sdo-runtime-2.2.0.zip
tptpdc.linux_ia32-TPTP-4.2.0.zip
并假设这些文件放在您的 /tmp 目录中。安装 Eclipse 并为运行 Eclipse TPTP 设置环境的步骤如下:
清单 1. 安装 Eclipse 和 Eclipse TPTP#
#
# Unpack the JRE in a new directory, ~/java-tptp
#
$ mkdir ~/java-tptp
$ cd ~/java-tptp
$ sh /tmp/jre-1_5_0_07-linux-i586.bin
#
#
# Unpack Eclipse, Eclipse TPTP, and all the prerequisites
#
$ tar xzvf /tmp/eclipse-SDK-3.2-linux-gtk.tar.gz
$ unzip /tmp/xsd-runtime-2.2.0.zip
$ unzip /tmp/tptp.platform.runtime-TPTP-4.2.0.zip
$ unzip /tmp/tptp.test.runtime-TPTP-4.2.0.zip
$ unzip /tmp/emf-sdo-runtime-2.2.0.zip
#
#
# Unpack, configure, and launch the Eclipse TPTP Agent Controller
#
$ mkdir tptpd
$ cd tptpd
$ unzip /tmp/tptpdc.linux_ia32-TPTP-4.2.0.zip
$ chmod +x ./{bin,lib}/*
#
#
# Set essential environment variables
#
$ export JAVA_HOME=~/java-tptp/jre1.5.0_07
$ export CLASSPATH=$JAVA_HOME
$ export PATH=$JAVA_HOME/bin:$JAVA_HOME/tptpd/bin:$PATH
$ export MOZILLA_FIVE_HOME=/usr/lib/mozilla
$ export LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:\
$JAVA_HOME/tptpd/lib:$LD_LIBRARY_PATH
#
#
# Start the Eclipse TPTP Agent Controller
#
$ cd ./bin
$ ./SetConfig.sh
$ ./RAStart.sh
#
#
# Finally, launch Eclipse
#
$ ~/java-tptp/eclipse/eclipse
更多精彩
赞助商链接