Changes between Version 45 and Version 46 of DeveloperGuidelines/Eclipse
- Timestamp:
- 11/11/11 19:29:47 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelines/Eclipse
v45 v46 34 34 i. Un-tick "Use Default" 35 35 i. Grammar Version (should be 2.6 in the Linux VM) 36 i. Browse to the web2py directory (on the Linux VM, this is in /home/web2py)36 i. Browse to the web2py directory (on the Linux VM, this is in {{{/home/web2py}}}) 37 37 i. Un-tick "Create default 'src' folder and add it to the pythonpath" 38 38 i. Click Finish … … 41 41 i. From the Run menu, choose Debug Configurations... 42 42 i. Double-click Python Run 43 i. Enter a name "web2py"44 i. Project: Browse to web2py (on the Linux VM, this is '/home/web2py')45 i. On the Main tab: Browse to web2py.py (on the Linux VM, this is '/home/web2py/web2py.py')43 i. On the Main tab: Name: Enter (e.g.) web2py 44 i. Project: Select web2py (should be the only option) 45 i. On the Main tab: Browse to web2py.py (on the Linux VM, this is {{{/home/web2py/web2py.py}}}) 46 46 i. On the Arguments tab: Type in the program arguments: "-a password" (Choose a password for web2py and substitute it for "password".) 47 47 i. Click Apply 48 i. Click Debug 48 i. In the Packages tab, select web2py. 49 i. Click Debug (If you get an error saying $project_loc is empty, click OK. Then select web2py in the Packages tab and Run -> Debug.) 49 50 i. On Windows: If asked, unblock in Windows Firewall (not necessary on the Linux VM) 50 51 51 1. Miscellaneous suggestions :52 1. Miscellaneous suggestions for comfort and convenience: 52 53 i. Right-click on Java perspective in top-right & select Close 53 54 i. Window > Open Perspective > Other > Debug 54 55 i. Window > Show View > Expressions 56 i. Window > Show View > Expressions > Other > PyDev > PyDev Package Explorer[[br]] 57 (This is where you will need to select web2py before trying Run or Debug to avoid the empty $project_loc error.) 58 i. Drag the Expressions, Console, Tasks tabs to the upper right, where the Variables tab is. Drag PyDev Package Explorer to the upper left where Debug is. (This leaves more space for the editor view.) 55 59 i. Window > Customize Perspective > Go through the tabs and untick !PyDev Debug. Click OK 56 60 i. Set your default HTML editor