iOS TA Solution (二) 環境搭建篇


環境搭建

Youshould download some necessary software first, then install and deployenvironment value. As following

 Software List:

1.    Eclipse for windows or mac

2.    Python (python v2.5.2 is the best)

3.    Pydev plug-in for Eclipse

4.    SVN (Tortoise SVN)

5.    WBXTF tool (WBXTF-Setup.exe) 


(一)Eclipse 

1. 下載 

For windows or Mac OSX

 

Download: http://www.eclipse.org/downloads/

 

e.g.eclipse-SDK-3.7-win32.zip 


2. 安裝以及配置


Preconditionbefore you use Eclipse, should be installed JRE (java run environment), JREdownload URL http://www.oracle.com/technetwork/java/javase/downloads/index.html.

 

JDK environment value:

 

1.   JAVA_HOME

Add -> JAVA_HOME=D:\ProgramFiles\Java\jdk1.6.0_02

 

2.   PATH

Add-> PATH=,;%JAVA_HOME%\bin; %JAVA_HOME%\jre\bin;

 

3.   CLASSPATH

Add-> CLASSPATH=,;%JAVA_HOME%\lib

 

4.   Checkinstall success

cmd -> java –version, ok

 

Unzip the zip file and defaultinstall.

  

( 額外贈送一份Eclipse中常見的快捷鍵, 最經典的快捷鍵, 就不用多說了, ^_^ )


(二)Python 

1. 下載和安裝 

1. For Windows

 

Download:–http://www.python.org/getit/releases/2.5/

Or

       \\10.224.201.130\123_Liang_share\Eclispse&Svn  (python-2.5.2.msi )

 

    Install: Directly run install on Windows.

 

 

2. For Mac OS X

 

Noneed to install again, Mac os x include Python.


2.  配置

1. Configureenvironment value

 

2. Configure pythoninterpreters in Eclipse

 (三)Pydev 插件 for Eclipse


1. 安裝插件 

Install in Eclipse: http://pydev.org/updates

 

 

Steps:

 

1.   Open Eclipse

 

2.   Open menu -> Help ->Install New Software

 

3.   click add -> input name(pydev for eclipse) and location (http://pydev.org/updates),then ok

 

4.   choose Pydev option

 

5.   click next , finish install 


2. 配置 

Check the Pydev configuration, openMenu -> Window -> Preferences

 

 

Click Auto Config, you must installPython first then you can use Auto Config.

 

Now you can create a test project totest if Python works fine with Eclipse.


(四)SVN 


1. 下載和安裝 

Download: –http://tortoisesvn.tigris.org/

 

e.g.TortoiseSVN-1.7.3.22386-win32-svn-1.7.2.msi

 

Install: Directly install


2. Subversion 在Eclipse的 插件

The steps of install subversion sameas Pydev.

 

 

Next, until finish install.

 

If you install subversion success,then restart Eclipse, you can check out the code from svn directly.

 

(五)WBXTF 


1. 下載 


Steps:

1.   Visit URL ( http://tools.hf.webex.com)

2.   Search keywords “WBXTF”

3.   Download latest version.

 

e.g. WBXTF-Setup.exe 


2. 安裝以及配置 

Step1: default installation, need notice (choose business option)

 

Step2: after finish install, modify file (D:\WBXTF\STAF\bin\STAF.cfg)

 

Change from #interface tcp library STAFTCP optionSecure=No  option Port=6500   to 

 

interfacetcp library STAFTCP option Secure=No option Port=19987

 

Step3: Check success,

 

Run -> commend, input Staf 10.224.166.10 ping ping

 

Please according to another document ---WBXTF在iPhoneiPad TA中的安裝和配置.doc

 


請看下一篇 iOS TA Solution (三)《腳本的基本框架和架構》




發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章