Project

General

Profile

Requality-manual-installation » History » Version 23

Viktoria Kopach, 07/15/2014 05:20 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 14 Alexey Khoroshilov
# Windows and Linux (both x86 and x86-64) are supported. Please note if you use Windows x86-64, all the tools have to be x86 (32-bits), because there is no supported browser engine for Windows x86-64, that could be integrated into Eclipse.
9 16 Alexey Khoroshilov
# "Sun/Oracle Java SE":https://www.java.com/en/download/ 6.0.
10 17 Alexey Khoroshilov
# "Eclipse Platform":https://eclipse.org/downloads/ 3.5, (3.7.2 recommended). You can use any Eclipse package ( e.g. Eclipse Standard).
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). 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 21 Viktoria Kopach
|_. Dependency |_. Min version |_. Recommended version |_. Windows x86, x86-64 |_. Linux x86 |_. Linux x86-64 |
15
| "Sun/Oracle Java SE":https://www.java.com/en/download/ | 6.0 | 7.0 | x86 | x86 | x86 or x86-64 |
16 23 Viktoria Kopach
| "Eclipse Platform":http://eclipse.org/ |4.2 | 4.3 | x86 | x86 | x86 or x86-64 |
17 21 Viktoria Kopach
| "XULRunner":https://developer.mozilla.org/en-US/docs/Mozilla/Projects/XULRunner | 1.9.2.19 | 1.9.2.19 | x86 | x86 | x86 or x86-64 |
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 17 Alexey Khoroshilov
If you use Java 7, turn on backward compatibility mode by adding the following string to the end of ''eclipse.ini'' file
25
@-Djava.util.Arrays.useLegacyMergeSort=true@
26 1 Alexey Khoroshilov
27 6 Viktoria Kopach
h2. Browser integration to Eclipse
28
29 19 Alexey Khoroshilov
Requality requires a browser engine to be integrated with Eclipse. Mozilla Foundation XULRunner and WebKit are supported.
30 6 Viktoria Kopach
31 1 Alexey Khoroshilov
NOTE! After Requality installation you can check if browser engine has been installed successfully. See instructions below in "After installation" section.
32 23 Viktoria Kopach
NOTE! To use XULRunner on Windows x86_64 install "Visual C++ 2010 runtime":http://www.microsoft.com/en-us/download/details.aspx?id=13523
33 22 Viktoria Kopach
34 19 Alexey Khoroshilov
Download XULRunner archive from http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/1.9.2.19/runtimes/.
35 17 Alexey Khoroshilov
Unpack the archive to any convenient place and add the following string to the end of ''eclipse.ini'' file: 
36
@-Dorg.eclipse.swt.browser.XULRunnerPath=<path to XULRunner>@
37
For example, if XULRunner was unpacked to C:\xulrunner, the string should be:
38 1 Alexey Khoroshilov
@-Dorg.eclipse.swt.browser.XULRunnerPath=C:\xulrunner@
39 6 Viktoria Kopach
40 23 Viktoria Kopach
On Linux it''s recommended to use WebKit. To install it on Ubuntu you should install libwebkitgtk-1.0-0 package, e.g.:
41 1 Alexey Khoroshilov
 @sudo apt-get install libwebkitgtk-1.0-0@
42 23 Viktoria Kopach
43
You also can use XULRunner. Download XULRunner 10.0.4esr archive from http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/10.0.4esr/runtimes/".
44
Unpack the archive to any convenient place and add the following string to the end of ''eclipse.ini'' file: 
45
@-Dorg.eclipse.swt.browser.XULRunnerPath=<path to XULRunner>@
46
For example, if XULRunner was unpacked to C:\xulrunner, the string should be:
47
@-Dorg.eclipse.swt.browser.XULRunnerPath=C:\xulrunner@
48 17 Alexey Khoroshilov
49 6 Viktoria Kopach
h2. Installation of plugin for interaction with control version system
50
51 17 Alexey Khoroshilov
Version  control system provides support for collobarative work with requirements. Check if there are plugins to interact with chosen version control system (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).
52 6 Viktoria Kopach
53
h1. Requality installation
54
55 20 Viktoria Kopach
h2. Install
56 8 Viktoria Kopach
57 17 Alexey Khoroshilov
Install Requality by Eclipse Update Manager open Main menu and choose ''Install New Software...''
58 9 Viktoria Kopach
59 6 Viktoria Kopach
!InstallNewSoftware.png!
60
61
In opened window insert Requality update site address.
62 9 Viktoria Kopach
63 6 Viktoria Kopach
!AddUpdateSiteRequality.png!
64
65
Name: Requality
66
Location: http://forge.ispras.ru/repo/requality/site/
67 9 Viktoria Kopach
68 6 Viktoria Kopach
!InstallRequality.png!
69
70
Then choose Requality plugin from the available plugins list and follow install plugin Wizard.
71
While installing there will appear Security Warning about unsigned content. Push ''OK''.
72 10 Viktoria Kopach
73 6 Viktoria Kopach
!SecurityWarning.png!
74
75 1 Alexey Khoroshilov
Restart Eclipse after installation.
76 13 Alexey Khoroshilov
77
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.
78
79 8 Viktoria Kopach
80 20 Viktoria Kopach
h2. Delete
81 9 Viktoria Kopach
82 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.
83
Restart Eclipse after deletion.
84 8 Viktoria Kopach
85 20 Viktoria Kopach
h2. Update
86 1 Alexey Khoroshilov
87 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.
88
89 9 Viktoria Kopach
!RequalityUpdate.png!
90 6 Viktoria Kopach
91
There are 2 reasons why the plugin can not be in the list: the plugin is not installed or there are no updates.
92 11 Alexey Khoroshilov
93
To update Requality plugin, select it, click on the ''Next'' button and follow instructions.
94 22 Viktoria Kopach
95
h1. After installation
96
97
After Requality installation it''s recommended to check if browser has been successfully installed to Eclipse.
98
In Eclipse main menu select ''Window -> Preferences''. In ''Preferences'' select menu ''Requality''. On the right you can see what browser engines are integrated with ''Eclipse'' and which one is currently in use.
99
100
!CheckEngine_en.png!
101
102
To change active browser engine click on ''Browser Engine'' field and select required one in the drop-down list. Then save changes by ''Apply'' button. After that Eclipse should be restarted for the changes to take effect.
103
If required browser engine has ''not available'' status in the drop-down list, this means that either you have not installed it yet or the installation has been failed. You can activate only browser engine with status ''available''.