Project

General

Profile

Requality-manual-installation » History » Version 13

Alexey Khoroshilov, 03/18/2014 02:09 PM

1 1 Alexey Khoroshilov
h1. Requality Installation
2
3
To install the latest stable version of Requality, please use the following update site:
4
http://forge.ispras.ru/repo/requality/site/
5 2 Viktoria Kopach
6 4 Viktoria Kopach
h1. System requirements
7 2 Viktoria Kopach
8 11 Alexey Khoroshilov
# Windows or Linux . x86 and x64 architectures supported. If using x86 architecture all tools listed below should be x86 too. If using x64 all used tools could be x86 all or x64 all. Currently there is no supported browser engine for Windows x64, that could be integrated to Eclipse, so you should use x86 versions for Windows x64.
9 4 Viktoria Kopach
# "Sun/Oracle Java SE":http://www.oracle.com/technetwork/java/index.html 6.0.
10
# "Eclipse Platform":http://eclipse.org/ 3.5, (3.7.1 recommended). You can use Platform Runtime Binary (about 50MB) or any other package based on it.
11
# "XULRunner":https://developer.mozilla.org/en-US/docs/Mozilla/Projects/XULRunner 1.9.2.19 (currently Eclipse doesn’t support XULRunner 2.0 and later) XULRunner Eclipse plugin: update site. For Linux you can use "WebKit":http://www.webkit.org/ instead of XULRunner.
12 11 Alexey Khoroshilov
# "EGit":http://www.eclipse.org/egit/ (recommended), "Subversive":http://eclipse.org/subversive/ or any other Eclipse Team Provider — it depends on your version control system.
13 3 Viktoria Kopach
14 11 Alexey Khoroshilov
|_. Dependency |_. Min version |_. Recommended version |
15
| "Sun/Oracle Java SE":http://www.oracle.com/technetwork/java/index.html | 6.0 | 7.0 |
16
| "Eclipse Platform":http://eclipse.org/ | 3.5 | 3.7 |
17
| "XULRunner":https://developer.mozilla.org/en-US/docs/Mozilla/Projects/XULRunner | 1.9.2.19 | 1.9.2.19 |
18 6 Viktoria Kopach
19
h1. Preparation to Requality installation
20
21
h2. Eclipse installation
22
23
To install Eclipse unpack the archive to any convenient place. This creates an ''eclipse'' sub-directory.
24
If using Java 7, to turn on backward compatibility mode add following string to the end of ''eclipse.ini'' file
25
_-Djava.util.Arrays.useLegacyMergeSort=true_
26
27
h2. Browser integration to Eclipse
28
29
Requality requires browser engine to be integrated to Eclipse. Mozilla Foundation XULRunner and WebKit are supported.
30
It’s recommended to use update site (see System requirements) to install Eclipse plugin for XULRunner.
31
If it is unsuitable for some reason there is another way to install XULRunner:
32
Download XULRunner archive from page (see System requirements).
33
Unpack the archive to a convenient place. After that if using Windows you should register XULRunner in the system. Use following command:
34
_''xulrunner.exe --register-global''_
35
In Windows 7 this command should be run by administrator.
36
You shouldn’t install duplicate XULRunner if Mozilla Firefox has already been installed. Copy ''xulrunner.exe'' to Firefox folder and run above-mentioned command.
37
Or you just can add following information to the system registry (check the correctness of paths and versions!):
38
39
_Windows Registry Editor Version 5.00
40
[HKEY_LOCAL_MACHINE\SOFTWARE\mozilla.org]
41
[HKEY_LOCAL_MACHINE\SOFTWARE\mozilla.org\GRE]
42
[HKEY_LOCAL_MACHINE\SOFTWARE\mozilla.org\GRE\1.9.2.19]
43
"Version"="1.9.2.19"
44
"GreHome"="C:\\Program Files\\Mozilla Firefox"
45
"xulrunner"="true"
46
"abi"="x86-msvc"
47
"javaxpcom"="1"
48
[HKEY_LOCAL_MACHINE\SOFTWARE\mozilla.org\Mozilla]
49
"CurrentVersion"="1.9.2.19"_
50
51
h2. Installation of plugin for interaction with control version system
52
53
Control version system provides collective work with requirements. Check if there are plugins to interact with chosen version control system (CVS, Subversion, git and others) in Eclipse. If needed, appropriate plugin could be installed from Eclipse repository. In the case of Subversion it is recommended to use Subversive plugin (Subclipse plugin is not recommended).
54
55
h1. Requality installation
56
57
h3. Install
58 8 Viktoria Kopach
59 6 Viktoria Kopach
To install Requality by Eclipse Update Manager open Main menu and choose ''Install New Software...''
60 9 Viktoria Kopach
61 6 Viktoria Kopach
!InstallNewSoftware.png!
62
63
In opened window insert Requality update site address.
64 9 Viktoria Kopach
65 6 Viktoria Kopach
!AddUpdateSiteRequality.png!
66
67
Name: Requality
68
Location: http://forge.ispras.ru/repo/requality/site/
69 9 Viktoria Kopach
70 6 Viktoria Kopach
!InstallRequality.png!
71
72
Then choose Requality plugin from the available plugins list and follow install plugin Wizard.
73
While installing there will appear Security Warning about unsigned content. Push ''OK''.
74 10 Viktoria Kopach
75 6 Viktoria Kopach
!SecurityWarning.png!
76
77 1 Alexey Khoroshilov
Restart Eclipse after installation.
78 13 Alexey Khoroshilov
79
For more information about installation of plugins from update sites see "the following instructions":http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Ftasks%2Ftasks-124.htm.
80
81 8 Viktoria Kopach
82 6 Viktoria Kopach
h3. Delete
83 9 Viktoria Kopach
84 6 Viktoria Kopach
To delete the plugin choose in menu Help -> About Eclipse. In the opened window (''About Eclipse'') push button ''Installation Details'', in ''Eclipse Installation Details'' window select required plugin - Requality, push ''Uninstall'' and continue deletion with the help of plugin delete wizard.
85
Restart Eclipse after deletion.
86 8 Viktoria Kopach
87 1 Alexey Khoroshilov
h3. Update
88
89 8 Viktoria Kopach
To update Requality that was installed by Eclipse Update Manager choose in main menu Help -> Check for Updates. Wait until updates search finish. In the opened window (''Available Updates'') select Requality plugin and continue installation with the help of plugin update wizard.
90
91 9 Viktoria Kopach
!RequalityUpdate.png!
92 6 Viktoria Kopach
93
There are 2 reasons why the plugin can not be in the list: the plugin is not installed or there are no updates.
94 11 Alexey Khoroshilov
95
To update Requality plugin, select it, click on the ''Next'' button and follow instructions.