hugs (owner)

Revisions

gist: 42704 Download_button fork
public
Description:
Setup req'd for Selenium development on Windows 2003
Public Clone URL: git://gist.github.com/42704.git
Embed All Files: show embed
selenium-developer-setup-windows.txt #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# Install cygwin and wget
* Go to http://www.cygwin.com/
* Download Cygwin, and run installer.
* During installation, under "Web", select "wget"
* After installation, add Cygwin binaries to System "Path" environment variable
  (Sample: C:\cygwin\bin)
 
(also install 'unzip')
 
# Install Java:
* Go to http://java.com/en/download/manual.jsp
* Select "Windows XP/Vista/2000/2003 Online" download option
* Download and run installer. (On EC2, logged in as Administrator, I had to "Unblock" the file using the Properties context-menu before I could run the installer.)
 
# Check installation:
$ java -version
 
# Set JAVA_HOME variable to:
 
 
# Install Maven:
* Go to http://maven.apache.org/download.html
* Select "apache-maven-2.0.9-bin.zip", and continue to download from a mirror site.
$ unzip D:/downloads/apache-maven-2.0.9-bin.zip
$ mv D:/downloads/apache-maven-2.0.9 D:/apps
* Add 'D:/apps/apache-maven-2.0.9/bin' to System PATH.
 
# Check installation:
* Relaunch command prompt to pick up new PATH vars.
$ mvn --version
 
 
# Install Subversion
$ sudo apt-get install subversion
 
# Check installation:
$ svn --version --quiet
 
 
# Make sure Firefox is on the path
$ PATH=`find /usr/lib -type d -name "firefox-3*"`:$PATH
 
 
# Checkout Selenium Remote Control:
$ mkdir --parents ~/projects/selenium/selenium-rc
$ svn co https://svn.openqa.org/svn/selenium-rc/trunk/ ~/projects/selenium/selenium-rc
 
# Checkout Selenium Core
$ mkdir --parents ~/projects/selenium/selenium-core
$ svn co http://svn.openqa.org/svn/selenium-core/trunk/ ~/projects/selenium/selenium-core
                
 
# Build Core
$ cd ~projects/selenium/selenium-core/
$ mvn install
 
# Build Core, but this time, run all tests
$ mvn test
 
 
# Build RC
$ cd ~projects/selenium/selenium-rc/
$ mvn -Pcore install
 
# Build RC, but this time, run all tests
$ mvn -Pcore test