Changes between Version 32 and Version 33 of DeveloperGuidelines/Eclipse


Ignore:
Timestamp:
03/24/11 10:12:01 (14 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Eclipse

    v32 v33  
    2020  i. tick !PyDev (can exclude the optional !PyDev Mylyn Integration), Next, Next, Accept, Finish
    2121  i. tick to trust certificate, Restart now
    22  5. Set up the Python Interpreter:
     22
     23== Configuration ==
     24 1. Set up the Python Interpreter:
    2325  i. Window > Preferences > !PyDev > Interpreter - Python
    2426  i. New, Browse to python26/python.exe, OK, OK
    25  6. Add a new !PyDev Project:
     27 2. Add a new !PyDev Project:
    2628  i. File > New > Project > !PyDev Project > Next
    2729  i. untick Use Default
     
    2931  i. Give the project a name: "web2py", Next
    3032  i. untick "Create default 'src' folder and add it to the pythonpath"
    31  7. Debug Configuration: Run > Debug Configurations > Python Run
     33 3. Debug Configuration: Run > Debug Configurations > Python Run
    3234  i. Name: Sahana Eden
    3335  i. Project: Browse to web2py
     
    3638  i. Apply, Debug
    3739  i. unblock in Windows Firewall
    38  8. If you want a HTML and JS editor (with syntax highlighting) in Eclipse:
     40 4. If you want a HTML and JS editor (with syntax highlighting) in Eclipse:
    3941  i. Help menu > Install New Software
    4042  i. Work with: http://download.eclipse.org/releases/helios
     
    4446  i. tick to trust certificate, Restart now
    4547
    46 Other Installation Guides (should not be required):
    47  * http://kollerie.wordpress.com/2009/04/07/setting-up-your-ide-for-web2py-development/
    48  * (Simpler Instructions) http://allisterx.blogspot.com/2009/06/using-web2py-framework-on-eclipse.html
     48 6. Miscellaneous suggestions:
     49  i. Right-click on Java perspective in top-right & select Close
     50  i. Window menu > Open Perspective > Other > Debug
     51  i. Window menu > Show View > Expressions
     52  i. right-click on toolbar > Customise Perspective > untick !PyDev Debug, Run & External Tools
     53  i. Window menu > Preferences > General > Editors > File Associations > *.html
     54   * Add (lower one), Text Editor, OK, Default, OK
     55  i. Windows > Preferences > General > Editors > Text Editors > tick Show line numbers
     56  i. Windows > Preferences > General > Workspace > tick 'Refresh automatically' (untick 'Build automatically')
    4957
    50 === Bzr integration (optional) ===
    51  * http://wiki.bazaar.canonical.com/BzrEclipse
    52 {{{
    53 bzr checkout --lightweight lp:bzr-xmloutput
    54 cd bzr-xmloutput
    55 python setup.py install
    56 cd ..
    57 
    58 }}}
    59 == Configuration ==
    60  * Right-click on Java perspective in top-right & select Close
    61  * Window menu > Open Perspective > Other > Debug
    62  * Window menu > Show View > Expressions
    63  * right-click on toolbar > Customise Perspective > untick !PyDev Debug, Run & External Tools
    64  * Window menu > Preferences > General > Editors > File Associations > *.html
    65   * Add (lower one), Text Editor, OK, Default, OK
    66  * Windows > Preferences > General > Editors > Text Editors > tick Show line numbers
    67  * Windows > Preferences > General > Workspace > tick 'Refresh automatically' (untick 'Build automatically')
    6858== Debugging with Eclipse ==
    6959 * Set and remove breakpoints by double clicking in the margin of the code file
    7060 * Click the 'Debug Sahana Eden' button
     61
    7162 * F5 Step into functions
    7263 * F6 Step over lines
     
    8980}}}
    9081
     82=== Bzr integration (optional) ===
     83 * http://wiki.bazaar.canonical.com/BzrEclipse
     84{{{
     85bzr checkout --lightweight lp:bzr-xmloutput
     86cd bzr-xmloutput
     87python setup.py install
     88cd ..
     89
     90}}}
     91
    9192== Related Links ==
    9293 * [wiki:DeveloperGuidelinesTips#Pythondebugging Debugging Web2Py]
    9394
     95Other Configuration Guides (should not be required):
     96 * http://kollerie.wordpress.com/2009/04/07/setting-up-your-ide-for-web2py-development/
     97 * (Simpler Instructions) http://allisterx.blogspot.com/2009/06/using-web2py-framework-on-eclipse.html
     98
    9499----
    95100DeveloperGuidelines