Project

General

Profile

Requality-manual-installation » History » Version 27

Alexey Khoroshilov, 02/13/2015 08:44 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 25 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 24 Viktoria Kopach
# "Sun Java SE":http://www.oracle.com/technetwork/java/javase/downloads/index.html (recommended 7.0, supported 6.0 and higher).
10 25 Alexey Khoroshilov
# "Eclipse Platform":https://eclipse.org/downloads/ (3.7 recommended). You can use minimal Eclipse package "Platform Runtime Binary":http://archive.eclipse.org/eclipse/downloads/drops/R-3.7.2-201202080800/#PlatformRuntime (about 50MB) or any other package based on it.
11 24 Viktoria Kopach
To install Eclipse unpack the archive to any convenient place. This creates an ''eclipse'' sub-directory.
12
# "XULRunner":https://developer.mozilla.org/en-US/docs/Mozilla/Projects/XULRunner 1.9.2.19. XULRunner Eclipse plugin: http://forge.ispras.ru/repo/xulrunner-eclipse/site/. For Linux you can use "WebKit":http://www.webkit.org/ instead of XULRunner.
13
# "Subversive":http://eclipse.org/subversive/, "EGit":http://www.eclipse.org/egit/ or any other Eclipse Team Provider — it depends on your version control system. EGit is recommended.
14 3 Viktoria Kopach
15 1 Alexey Khoroshilov
|_. Dependency |_. Min version |_. Recommended version |_. Windows x86, x86-64 |_. Linux x86 |_. Linux x86-64 |
16 21 Viktoria Kopach
| "Sun/Oracle Java SE":https://www.java.com/en/download/ | 6.0 | 7.0 | x86 | x86 | x86 or x86-64 |
17 24 Viktoria Kopach
| "Eclipse Platform":http://eclipse.org/ |3.7.2 | 4.3.2 | x86 | x86 | x86 or x86-64 |
18 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 |
19 6 Viktoria Kopach
20
h1. Preparation to Requality installation
21
22 24 Viktoria Kopach
h2. Step 1. Eclipse installation
23 1 Alexey Khoroshilov
24
To install Eclipse unpack the archive to any convenient place. This creates an ''eclipse'' sub-directory.
25 19 Alexey Khoroshilov
26 24 Viktoria Kopach
h2. Step 2. Browser integration to Eclipse
27 1 Alexey Khoroshilov
28 23 Viktoria Kopach
Requality requires a browser engine to be integrated with Eclipse. Mozilla Foundation XULRunner and WebKit are supported.
29 1 Alexey Khoroshilov
30 25 Alexey Khoroshilov
*NOTE!* After Requality installation you can check if browser engine has been installed successfully. See instructions below in "After installation" section.
31
*NOTE!* To use XULRunner on *Windows x86_64* install "Visual C++ 2010 runtime":http://www.microsoft.com/en-us/download/details.aspx?id=13523
32 1 Alexey Khoroshilov
33 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:
34
sudo apt-get install libwebkitgtk-1.0-0
35 17 Alexey Khoroshilov
36 25 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: 
37 24 Viktoria Kopach
@-Dorg.eclipse.swt.browser.DefaultType=mozilla
38
-Dorg.eclipse.swt.browser.XULRunnerPath=<path to XULRunner>@
39 25 Alexey Khoroshilov
For example, if XULRunner was unpacked to C:\xulrunner, the second string should be:
40 1 Alexey Khoroshilov
@-Dorg.eclipse.swt.browser.XULRunnerPath=C:\xulrunner@
41 23 Viktoria Kopach
42 27 Alexey Khoroshilov
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.
43 23 Viktoria Kopach
44 24 Viktoria Kopach
h2. Step 3 (optional). Installation of plugin for interaction with control version system
45
46 27 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. In the case of Subversion it is recommended to use Subversive plugin (Subclipse plugin is not recommended).
47 17 Alexey Khoroshilov
48 6 Viktoria Kopach
h1. Requality installation
49
50 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.
51 1 Alexey Khoroshilov
52 6 Viktoria Kopach
h2. Installing Requality by Eclipse Update Manager (from update site)
53 24 Viktoria Kopach
54 27 Alexey Khoroshilov
To install Requality by Eclipse Update Manager, open Main menu and choose ''Install New Software...'' 
55 24 Viktoria Kopach
56 1 Alexey Khoroshilov
!InstallNewSoftware.png!
57 6 Viktoria Kopach
58 27 Alexey Khoroshilov
Click on ''Add...'' button. In opened window insert Requality update site address.
59 9 Viktoria Kopach
60 6 Viktoria Kopach
!AddUpdateSiteRequality.png!
61 1 Alexey Khoroshilov
62
Name: Requality
63
Location: http://forge.ispras.ru/repo/requality/site/
64
65
!InstallRequality.png!
66
67
Then choose Requality plugin from the available plugins list and follow install plugin Wizard.
68
While installing there will appear Security Warning about unsigned content. Push ''OK''.
69
70
!SecurityWarning.png!
71 6 Viktoria Kopach
72
Restart Eclipse after installation.
73 24 Viktoria Kopach
74
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.
75
76
77
h2. Installing to dropins directory
78
79 27 Alexey Khoroshilov
To install Requality unpack the "archive":http://forge.ispras.ru/projects/reqdb/files to eclipse/dropins directory.
80 22 Viktoria Kopach
81
h1. After installation
82
83
After Requality installation it''s recommended to check if browser has been successfully installed to Eclipse.
84
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.
85
86
!CheckEngine_en.png!
87
88
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.
89
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''.