Changes between Version 45 and Version 46 of DeveloperGuidelines/Eclipse


Ignore:
Timestamp:
11/11/11 19:29:47 (10 years ago)
Author:
Pat Tressel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Eclipse

    v45 v46  
    3434  i. Un-tick "Use Default"
    3535  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}}})
    3737  i. Un-tick "Create default 'src' folder and add it to the pythonpath"
    3838  i. Click Finish
     
    4141  i. From the Run menu, choose Debug Configurations...
    4242  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}}})
    4646  i. On the Arguments tab: Type in the program arguments: "-a password" (Choose a password for web2py and substitute it for "password".)
    4747  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.)
    4950  i. On Windows: If asked, unblock in Windows Firewall (not necessary on the Linux VM)
    5051
    51  1. Miscellaneous suggestions:
     52 1. Miscellaneous suggestions for comfort and convenience:
    5253  i. Right-click on Java perspective in top-right & select Close
    5354  i. Window > Open Perspective > Other > Debug
    5455  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.)
    5559  i. Window > Customize Perspective > Go through the tabs and untick !PyDev Debug. Click OK
    5660  i. Set your default HTML editor