Project

General

Profile

Requality-manual-installation » History » Revision 17

Revision 16 (Alexey Khoroshilov, 05/22/2014 11:06 AM) → Revision 17/33 (Alexey Khoroshilov, 05/22/2014 02:05 PM)

h1. Requality Installation 

 To install the latest stable version of Requality, please use the following update site: 
 http://forge.ispras.ru/repo/requality/site/ 

 h1. System requirements 

 # 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. 
 # "Sun/Oracle Java SE":https://www.java.com/en/download/ 6.0. 
 # "Eclipse Platform":https://eclipse.org/downloads/ Platform":http://eclipse.org/ 3.5, (3.7.2 recommended). You can use Platform Runtime Binary (about 50MB) or any Eclipse other package ( e.g. based on it. Please note, there are known issues with Eclipse Standard). 4.4, it is not recommended for now. 
 # "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). later) XULRunner Eclipse plugin: update site. For Linux you can use "WebKit":http://www.webkit.org/ instead of XULRunner. 
 # "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. 

 |_. Dependency |_. Min version |_. Recommended version | 
 | "Sun/Oracle Java SE":https://www.java.com/en/download/ | 6.0 | 7.0 | 
 | "Eclipse Platform":http://eclipse.org/ | 3.5 | 3.7.2 3.7 | 
 | "XULRunner":https://developer.mozilla.org/en-US/docs/Mozilla/Projects/XULRunner | 1.9.2.19 | 1.9.2.19 | 

 h1. Preparation to Requality installation 

 h2. Eclipse installation 

 To install Eclipse unpack the archive to any convenient place. This creates an ''eclipse'' sub-directory. 
 If you use using Java 7, to turn on backward compatibility mode by adding the add following string to the end of ''eclipse.ini'' file 
 @-Djava.util.Arrays.useLegacyMergeSort=true@ _-Djava.util.Arrays.useLegacyMergeSort=true_ 

 h2. Browser integration to Eclipse 

 Requality requires browser engine to be integrated to Eclipse. Mozilla Foundation XULRunner and WebKit are supported. 
 It is It’s recommended to use update site (http://forge.ispras.ru/repo/xulrunner-eclipse/site/) (see System requirements) to install Eclipse plugin for XULRunner. 

 
 If it is unsuitable for some reason there is another way to install XULRunner. XULRunner: 
 Download XULRunner archive from page http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/1.9.2.19/runtimes/. (see System requirements). 
 Unpack the archive to any a convenient place place. After that if using Windows you should register XULRunner in the system. Use following command: 
 _''xulrunner.exe --register-global''_ 
 In Windows 7 this command should be run by administrator. 
 You shouldn’t install duplicate XULRunner if Mozilla Firefox has already been installed. Copy ''xulrunner.exe'' to Firefox folder and run above-mentioned command. 
 Or you just can add the following string information to the end system registry (check the correctness of ''eclipse.ini'' file:  
 @-Dorg.eclipse.swt.browser.XULRunnerPath=<path to XULRunner>@ paths and versions!): 

 _Windows Registry Editor Version 5.00 
 For example, if XULRunner was unpacked to C:\xulrunner, the string should be: [HKEY_LOCAL_MACHINE\SOFTWARE\mozilla.org] 
 @-Dorg.eclipse.swt.browser.XULRunnerPath=C:\xulrunner@ [HKEY_LOCAL_MACHINE\SOFTWARE\mozilla.org\GRE] 
 [HKEY_LOCAL_MACHINE\SOFTWARE\mozilla.org\GRE\1.9.2.19] 
 "Version"="1.9.2.19" 
 "GreHome"="C:\\Program Files\\Mozilla Firefox" 
 "xulrunner"="true" 
 "abi"="x86-msvc" 
 "javaxpcom"="1" 
 [HKEY_LOCAL_MACHINE\SOFTWARE\mozilla.org\Mozilla] 
 "CurrentVersion"="1.9.2.19"_ 

 To install WebKit on Ubuntu you should install libwebkitgtk-1.0-0 package, e.g.: 
  @sudo apt-get install libwebkitgtk-1.0-0@ 

 h2. Installation of plugin for interaction with control version system 

 Version    control Control version system provides support for collobarative collective work with requirements. Check if there are plugins to interact with chosen version control system (Subversion, (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). 

 h1. Requality installation 

 h3. Install 

 Install To install Requality by Eclipse Update Manager open Main menu and choose ''Install New Software...'' 

 !InstallNewSoftware.png! 

 In opened window insert Requality update site address. 

 !AddUpdateSiteRequality.png! 

 Name: Requality 
 Location: http://forge.ispras.ru/repo/requality/site/ 

 !InstallRequality.png! 

 Then choose Requality plugin from the available plugins list and follow install plugin Wizard. 
 While installing there will appear Security Warning about unsigned content. Push ''OK''. 

 !SecurityWarning.png! 

 Restart Eclipse after installation. 

 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. 


 h3. Delete 

 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. 
 Restart Eclipse after deletion. 

 h3. Update 

 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. 

 !RequalityUpdate.png! 

 There are 2 reasons why the plugin can not be in the list: the plugin is not installed or there are no updates. 

 To update Requality plugin, select it, click on the ''Next'' button and follow instructions.