Changes between Version 3 and Version 4 of DevNotes/Obsolete/Development
- Timestamp:
- Apr 4, 2014 9:48:53 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DevNotes/Obsolete/Development
v3 v4 17 17 === Setting Proxy === 18 18 If your internet access is normally via a proxy server, locate and edit your 19 C:\Users\userid\AppData\Roaming\Subversion\servers file and add under the [global]section:19 C:\Users\userid\AppData\Roaming\Subversion\servers file and add under the "global" section: 20 20 {{{ 21 21 http-proxy-host = site_proxy_server_address … … 41 41 If this doesn’t work: 42 42 43 Download the PyDev certificate from http://pydev.org/pydev_certificate.cer and install it (in 44 Windows, just right-click and select Install certificate) 43 Download the PyDev certificate from http://pydev.org/pydev_certificate.cer and install it (in Windows, just right-click and select Install certificate) 45 44 46 45 Now get PyDev from http://sourceforge.net/projects/pydev/files/ 46 47 47 If you have Java 7 installed, you must install PyDev 3.4.1 or later. 48 48 Extract the zip file to the Eclipse dropins folder and re-start Eclipse … … 50 50 51 51 === Installing Subversive === 52 For SVN access it is necessary for Eclipse to have the Subversive plug-in installed. Earlier versions of Eclipse 53 (e.g. 4.3.1) seemingly incorporated an SVN plug-in in the default distribution. Later versions (e.g. 54 Kepler) do not! 52 For SVN access it is necessary for Eclipse to have the Subversive plug-in installed. Earlier versions of Eclipse (e.g. 4.3.1) seemingly incorporated an SVN plug-in in the default distribution. Later versions (e.g. Kepler) do not. 55 53 56 54 To install Subversive: … … 69 67 * Help -> Install New Software 70 68 71 * Alongside the Work With drop-down, click Add and enter a URL in the Location box, e.g: http://community.polarion.com/projects/subversive/download/eclipse/3.0/kepler-site/ (or visit 69 * Alongside the Work With drop-down, click Add and enter a URL in the Location box, e.g: http://community.polarion.com/projects/subversive/download/eclipse/3.0/kepler-site/ (or visit http://www.polarion.com/products/svn/subversive/download.php for links to earlier versions of Subversive for Eclipse) 72 70 73 71 * Let the list of available software refresh. … … 112 110 USE OF PYTHON EASY_INSTALL WHICH DYNAMICALLY DOWNLOADS PACKAGES FROM THE WEB 113 111 112 In Windows Explorer: 113 Navigate to drive:\path\Python2x\lib\site-packages and delete any existing sasview.egg file 114 115 Back in Eclipse: 116 Window -> Preferences -> General -> Editors -> Text Editors 117 118 Check ‘Insert spaces for tabs’ 119 120 Check ‘Show print margin’ and set the ‘Print margin column’ to 80 121 122 Check ‘Show line numbers’ 123 124 Click OK 125 114 126 === Installing Python === 115 127 The official version of Python for building SasView is 2.7 … … 120 132 version of wxPython compatible with your Python 2.x installation! 121 133 122 Install the other additional packages for building SasView123 124 Install MINGW125 126 In Windows Explorer:127 Navigate to drive:\path\Python2x\lib\site-packages and delete any existing sasview .egg file128 129 Back in Eclipse:130 Window -> Preferences -> General -> Editors -> Text Editors131 132 Check ‘Insert spaces for tabs’133 134 Check ‘Show print margin’ and set the ‘Print margin column’ to 80135 136 Check ‘Show line numbers’137 138 Click OK139 140 134 Window -> Preferences -> PyDev -> Interpreter – Python 141 135 … … 149 143 Navigate to the sansview folder within the trunk 150 144 151 Right-click on sansview.py Run As Python Run145 Right-click on sansview.py -> Run As -> Python Run 152 146 153 147 If this fails with an error message in the console pane it means that there is no existing SasView build … … 158 152 Locate setup.py in the top level of the trunk 159 153 160 Right-click on run.py Properties Run/Debug Settings154 Right-click on run.py -> Properties -> Run/Debug Settings 161 155 162 156 IF no_launch_configuration shown: 163 New -> Enter a name for the launch configuration 164 165 Select the ‘Main’ tab -> Under ‘Project’, browse to the name of your trunk 166 167 Select the ‘Arguments’ tab -> Type ‘install’ (without the quotes) in the box marked ‘Program arguments’ 168 169 Click OK 157 * New -> Enter a name for the launch configuration 158 * Select the ‘Main’ tab -> Under ‘Project’, browse to the name of your trunk 159 * Select the ‘Arguments’ tab -> Type ‘install’ (without the quotes) in the box marked ‘Program arguments’ 160 * Click OK 170 161 171 162 === Building SasView the First Time === … … 212 203 Navigate to the sansview folder within the trunk 213 204 214 Right-click on setup_exe.py Run As Python Run205 Right-click on setup_exe.py -> Run As -> Python Run 215 206 216 207 This should create a file SasView.exe in the sansview\dist folder of the trunk … … 252 243 Either: 253 244 254 Right-click on file.py Compare with Revision... / Local History...245 Right-click on file.py -> Compare with -> Revision... / Local History... 255 246 256 247 Or: … … 260 251 Login 261 252 262 Projects SasView Code253 Projects -> SasView -> Code 263 254 264 255 NB: if you haven’t been coding for a while, right-click on the top level of the trunk and do Team -> Update 265 266 === To Tidy Up the Trunk ===267 268 Right-click on the top level of the trunk269 270 Team -> Cleanup271 272 256 273 257 === Checking the Build Server Tests === … … 290 274 code, should not be committed to the trunk, but conducted in a branch of the trunk instead 291 275 Note that a branch is not simply a sub-folder of trunk 276 292 277 The top-level of the SasView code repository contains: 293 278 Web:: the sasview.org web pages