Changes between Version 32 and Version 33 of DeveloperGuidelines/Eclipse
- Timestamp:
- 03/24/11 10:12:01 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/Eclipse
v32 v33 20 20 i. tick !PyDev (can exclude the optional !PyDev Mylyn Integration), Next, Next, Accept, Finish 21 21 i. tick to trust certificate, Restart now 22 5. Set up the Python Interpreter: 22 23 == Configuration == 24 1. Set up the Python Interpreter: 23 25 i. Window > Preferences > !PyDev > Interpreter - Python 24 26 i. New, Browse to python26/python.exe, OK, OK 25 6. Add a new !PyDev Project:27 2. Add a new !PyDev Project: 26 28 i. File > New > Project > !PyDev Project > Next 27 29 i. untick Use Default … … 29 31 i. Give the project a name: "web2py", Next 30 32 i. untick "Create default 'src' folder and add it to the pythonpath" 31 7. Debug Configuration: Run > Debug Configurations > Python Run33 3. Debug Configuration: Run > Debug Configurations > Python Run 32 34 i. Name: Sahana Eden 33 35 i. Project: Browse to web2py … … 36 38 i. Apply, Debug 37 39 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: 39 41 i. Help menu > Install New Software 40 42 i. Work with: http://download.eclipse.org/releases/helios … … 44 46 i. tick to trust certificate, Restart now 45 47 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') 49 57 50 === Bzr integration (optional) ===51 * http://wiki.bazaar.canonical.com/BzrEclipse52 {{{53 bzr checkout --lightweight lp:bzr-xmloutput54 cd bzr-xmloutput55 python setup.py install56 cd ..57 58 }}}59 == Configuration ==60 * Right-click on Java perspective in top-right & select Close61 * Window menu > Open Perspective > Other > Debug62 * Window menu > Show View > Expressions63 * right-click on toolbar > Customise Perspective > untick !PyDev Debug, Run & External Tools64 * Window menu > Preferences > General > Editors > File Associations > *.html65 * Add (lower one), Text Editor, OK, Default, OK66 * Windows > Preferences > General > Editors > Text Editors > tick Show line numbers67 * Windows > Preferences > General > Workspace > tick 'Refresh automatically' (untick 'Build automatically')68 58 == Debugging with Eclipse == 69 59 * Set and remove breakpoints by double clicking in the margin of the code file 70 60 * Click the 'Debug Sahana Eden' button 61 71 62 * F5 Step into functions 72 63 * F6 Step over lines … … 89 80 }}} 90 81 82 === Bzr integration (optional) === 83 * http://wiki.bazaar.canonical.com/BzrEclipse 84 {{{ 85 bzr checkout --lightweight lp:bzr-xmloutput 86 cd bzr-xmloutput 87 python setup.py install 88 cd .. 89 90 }}} 91 91 92 == Related Links == 92 93 * [wiki:DeveloperGuidelinesTips#Pythondebugging Debugging Web2Py] 93 94 95 Other 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 94 99 ---- 95 100 DeveloperGuidelines