Project

General

Profile

Requality-manual-installation » History » Version 28

Alexey Khoroshilov, 05/22/2015 12:23 AM

1 2 Viktoria Kopach
h1. System requirements
2 4 Viktoria Kopach
3 28 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.
4 3 Viktoria Kopach
5 1 Alexey Khoroshilov
|_. Dependency |_. Min version |_. Recommended version |_. Windows x86, x86-64 |_. Linux x86 |_. Linux x86-64 |
6 21 Viktoria Kopach
| "Sun/Oracle Java SE":https://www.java.com/en/download/ | 6.0 | 7.0 | x86 | x86 | x86 or x86-64 |
7 24 Viktoria Kopach
| "Eclipse Platform":http://eclipse.org/ |3.7.2 | 4.3.2 | x86 | x86 | x86 or x86-64 |
8 27 Alexey Khoroshilov
| "XULRunner":https://developer.mozilla.org/en-US/docs/Mozilla/Projects/XULRunner | 1.9.2.19 | 10.0.4 | x86 | x86 | x86 or x86-64 |
9 6 Viktoria Kopach
10
h1. Preparation to Requality installation
11
12 24 Viktoria Kopach
h2. Step 1. Eclipse installation
13 1 Alexey Khoroshilov
14
To install Eclipse unpack the archive to any convenient place. This creates an ''eclipse'' sub-directory.
15 19 Alexey Khoroshilov
16 24 Viktoria Kopach
h2. Step 2. Browser integration to Eclipse
17 1 Alexey Khoroshilov
18 23 Viktoria Kopach
Requality requires a browser engine to be integrated with Eclipse. Mozilla Foundation XULRunner and WebKit are supported.
19 1 Alexey Khoroshilov
20 25 Alexey Khoroshilov
*NOTE!* After Requality installation you can check if browser engine has been installed successfully. See instructions below in "After installation" section.
21
*NOTE!* To use XULRunner on *Windows x86_64* install "Visual C++ 2010 runtime":http://www.microsoft.com/en-us/download/details.aspx?id=13523
22 1 Alexey Khoroshilov
23 24 Viktoria Kopach
For *Eclipse 4.4* on *Linux* it''s necessary to use WebKit because of Eclipse 4.4 "incompatibility":http://www.eclipse.org/swt/faq.php#browserlinux with XULRunner. To install WebKit you should install libwebkitgtk-1.0-0. For example, on Ubuntu/Debian run in command line following command:
24
sudo apt-get install libwebkitgtk-1.0-0
25 1 Alexey Khoroshilov
26 17 Alexey Khoroshilov
For *Eclipse 3.8 and higher* to install Mozilla XULRunner it is required to download an appropriate "XULRunner 10.0.4":http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/10.0.4esr/runtimes/, to unpack the downloaded archive to any convenient place and to add the following strings to the end of ''eclipse.ini'' file: 
27 25 Alexey Khoroshilov
@-Dorg.eclipse.swt.browser.DefaultType=mozilla
28 24 Viktoria Kopach
-Dorg.eclipse.swt.browser.XULRunnerPath=<path to XULRunner>@
29
For example, if XULRunner was unpacked to C:\xulrunner, the second string should be:
30 25 Alexey Khoroshilov
@-Dorg.eclipse.swt.browser.XULRunnerPath=C:\xulrunner@
31 1 Alexey Khoroshilov
32 23 Viktoria Kopach
For *Eclipse 3.7* follow the same instructions but use "XULRunner 1.9.2.19":http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/1.9.2.19/runtimes/. As long as XULRunner 1.9.2.19 is 32-bit only, on Linux x86-64 you should use WebKit as described above.
33 27 Alexey Khoroshilov
34 23 Viktoria Kopach
h2. Step 3 (optional). Installation of plugin for interaction with control version system
35 24 Viktoria Kopach
36 28 Alexey Khoroshilov
Version  control system provides support for collaborative 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. "EGit":http://www.eclipse.org/egit/ is recommended. In the case of Subversion it is recommended to use "Subversive":http://eclipse.org/subversive/ plugin (Subclipse plugin is not recommended).
37 17 Alexey Khoroshilov
38 6 Viktoria Kopach
h1. Requality installation
39
40 27 Alexey Khoroshilov
There are 2 ways to install the tool: using Eclipse Update Manager and using eclipse/dropins directory. The first one is recommended as long as it makes simpler to keep tools up-to-date. If you are using the tool in console mode or you have no Internet connection, dropins.
41 1 Alexey Khoroshilov
42 6 Viktoria Kopach
h2. Installing Requality by Eclipse Update Manager (from update site)
43 24 Viktoria Kopach
44 27 Alexey Khoroshilov
To install Requality by Eclipse Update Manager, open Main menu and choose ''Install New Software...'' 
45 24 Viktoria Kopach
46 1 Alexey Khoroshilov
!InstallNewSoftware.png!
47 6 Viktoria Kopach
48 27 Alexey Khoroshilov
Click on ''Add...'' button. In opened window insert Requality update site address.
49 9 Viktoria Kopach
50 6 Viktoria Kopach
!AddUpdateSiteRequality.png!
51 1 Alexey Khoroshilov
52
Name: Requality
53
Location: http://forge.ispras.ru/repo/requality/site/
54
55
!InstallRequality.png!
56
57
Then choose Requality plugin from the available plugins list and follow install plugin Wizard.
58
While installing there will appear Security Warning about unsigned content. Push ''OK''.
59
60
!SecurityWarning.png!
61 6 Viktoria Kopach
62
Restart Eclipse after installation.
63 24 Viktoria Kopach
64
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.
65
66
67
h2. Installing to dropins directory
68
69 27 Alexey Khoroshilov
To install Requality unpack the "archive":http://forge.ispras.ru/projects/reqdb/files to eclipse/dropins directory.
70 22 Viktoria Kopach
71
h1. After installation
72
73
After Requality installation it''s recommended to check if browser has been successfully installed to Eclipse.
74
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.
75
76
!CheckEngine_en.png!
77
78
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.
79
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''.