Project

General

Profile

Requality-manual-installation » History » Revision 16

Revision 15 (Alexey Khoroshilov, 03/20/2014 12:19 AM) → Revision 16/33 (Alexey Khoroshilov, 05/22/2014 11:06 AM)

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/ SE":http://www.oracle.com/technetwork/java/index.html 6.0. 
 # "Eclipse Platform":http://eclipse.org/ 3.5, (3.7.2 recommended). You can use Platform Runtime Binary (about 50MB) or any other package based on it. Please note, there are known issues with Eclipse 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) 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/ SE":http://www.oracle.com/technetwork/java/index.html | 6.0 | 7.0 | 
 | "Eclipse Platform":http://eclipse.org/ | 3.5 | 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 using Java 7, to turn on backward compatibility mode add following string to the end of ''eclipse.ini'' file 
 _-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’s recommended to use update site (see System requirements) to install Eclipse plugin for XULRunner. 
 If it is unsuitable for some reason there is another way to install XULRunner: 
 Download XULRunner archive from page (see System requirements). 
 Unpack the archive to a convenient 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 following information to the system registry (check the correctness of paths and versions!): 

 _Windows Registry Editor Version 5.00 
 [HKEY_LOCAL_MACHINE\SOFTWARE\mozilla.org] 
 [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"_ 

 h2. Installation of plugin for interaction with control version system 

 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). 

 h1. Requality installation 

 h3. 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.