Changes between Version 3 and Version 4 of DevNotes/Obsolete/Development


Ignore:
Timestamp:
Apr 4, 2014 9:48:53 AM (10 years ago)
Author:
Tobias Richter
Comment:

Some more polishing

Legend:

Unmodified
Added
Removed
Modified
  • DevNotes/Obsolete/Development

    v3 v4  
    1717=== Setting Proxy === 
    1818If 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: 
     19C:\Users\userid\AppData\Roaming\Subversion\servers file and add under the "global" section: 
    2020{{{ 
    2121http-proxy-host = site_proxy_server_address 
     
    4141If this doesn’t work: 
    4242 
    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) 
     43Download the PyDev certificate from http://pydev.org/pydev_certificate.cer and install it (in Windows, just right-click and select Install certificate) 
    4544 
    4645Now get PyDev from http://sourceforge.net/projects/pydev/files/ 
     46 
    4747If you have Java 7 installed, you must install PyDev 3.4.1 or later. 
    4848Extract the zip file to the Eclipse dropins folder and re-start Eclipse 
     
    5050 
    5151=== 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! 
     52For 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. 
    5553 
    5654To install Subversive: 
     
    6967 * Help -> Install New Software 
    7068 
    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  http://www.polarion.com/products/svn/subversive/download.php for links to earlier versions of Subversive for Eclipse) 
     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) 
    7270 
    7371 * Let the list of available software refresh. 
     
    112110USE OF PYTHON EASY_INSTALL WHICH DYNAMICALLY DOWNLOADS PACKAGES FROM THE WEB 
    113111 
     112In Windows Explorer: 
     113Navigate to drive:\path\Python2x\lib\site-packages and delete any existing sasview.egg file 
     114 
     115Back in Eclipse: 
     116Window -> Preferences -> General -> Editors -> Text Editors 
     117 
     118Check ‘Insert spaces for tabs’ 
     119 
     120Check ‘Show print margin’ and set the ‘Print margin column’ to 80 
     121 
     122Check ‘Show line numbers’ 
     123 
     124Click OK 
     125 
    114126=== Installing Python === 
    115127The official version of Python for building SasView is 2.7 
     
    120132version of wxPython compatible with your Python 2.x installation! 
    121133 
    122 Install the other additional packages for building SasView 
    123  
    124 Install MINGW 
    125  
    126 In Windows Explorer: 
    127 Navigate to drive:\path\Python2x\lib\site-packages and delete any existing sasview .egg file 
    128  
    129 Back in Eclipse: 
    130 Window -> Preferences -> General -> Editors -> Text Editors 
    131  
    132 Check ‘Insert spaces for tabs’ 
    133  
    134 Check ‘Show print margin’ and set the ‘Print margin column’ to 80 
    135  
    136 Check ‘Show line numbers’ 
    137  
    138 Click OK 
    139  
    140134Window -> Preferences -> PyDev -> Interpreter – Python 
    141135 
     
    149143Navigate to the sansview folder within the trunk 
    150144 
    151 Right-click on sansview.py  Run As  Python Run 
     145Right-click on sansview.py -> Run As -> Python Run 
    152146 
    153147If this fails with an error message in the console pane it means that there is no existing SasView build 
     
    158152Locate setup.py in the top level of the trunk 
    159153 
    160 Right-click on run.py  Properties  Run/Debug Settings 
     154Right-click on run.py -> Properties -> Run/Debug Settings 
    161155 
    162156IF 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 
    170161 
    171162=== Building SasView the First Time === 
     
    212203Navigate to the sansview folder within the trunk 
    213204 
    214 Right-click on setup_exe.py  Run As  Python Run 
     205Right-click on setup_exe.py -> Run As -> Python Run 
    215206 
    216207This should create a file SasView.exe in the sansview\dist folder of the trunk 
     
    252243Either: 
    253244 
    254 Right-click on file.py  Compare with  Revision... / Local History... 
     245Right-click on file.py -> Compare with -> Revision... / Local History... 
    255246 
    256247Or: 
     
    260251Login 
    261252 
    262 Projects  SasView  Code 
     253Projects -> SasView -> Code 
    263254 
    264255NB: 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 trunk 
    269  
    270 Team -> Cleanup 
    271  
    272256 
    273257=== Checking the Build Server Tests === 
     
    290274code, should not be committed to the trunk, but conducted in a branch of the trunk instead 
    291275Note that a branch is not simply a sub-folder of trunk 
     276 
    292277The top-level of the SasView code repository contains: 
    293278 Web:: the sasview.org web pages