What are the recommended configuration settings for getting Aptana3 and GAE 
working with web2py?

Currently, I'm using:
1. Project Type: PyDev
2. Workspace View: Web
3. Run Configurations: {web2py local server instance, webrowser with URL 
set to Application Administration interface
4. Added a code block to certain files to reduce the erroneous static 
analyzer warnings

# Workaround for IDE to ignore errors for runtime variables
if 0:
    None
    import gluon
    global cache; cache = gluon.cache.Cache()
    global request; request = gluon.globals.Request()
    global response; response = gluon.globals.Response()
    global session; session = gluon.globals.Session()
    global settings; settings = gluon.globals.settings
    global DAL; DAL = gluon.dal()
    global HTTP; HTTP = gluon.http()
    global LOAD; LOAD = gluon.compileapp.LoadFactory()
    global db, Field, auth, crud
    global plugin_wiki_theme, plugin_wiki_level, plugin_wiki_migrate, 
plugin_wiki_editor, plugin_wiki_mode
    global web2py_aggregator_link, feeds, max_entried, d
    global IS_SLUG, IS_NOT_IN_DB, IS_NOT_EMPTY, IS_EMPTY_OR, IS_IN_DB

These settings work well with web2py and the local development server 
127.0.0.1:8000. What changes should I make to work with GAE (ie use PyDev 
GAE project instead of PyDev)? Are there any other useful features, 
configurations I can use?

Reply via email to