Alex Rivera | Logout

Configuring App Engine path for PyDev on Mac

Asked 2011-02-06T05:42:00.333
10

I've just installed Eclipse and the Pydev plug-in on my Mac (OS X 10.6.6) and I'm having trouble using the Google App Engine project 'template'. I'm really stuck here so your help would be really appreciated.

I can get as far as adding a New Project > Pydev > Pydev Google App Engine Project and setup the project name, directory and type etc no problem.

It then asks for the Google App Engine directory "Select the Google App Engine root directory (dir containing dev_appserver.py, appcfg.py, lib etc" but I can't find these files anywhere. I have of course already installed the Google App Engine SDK.

I did find a post that says I should specify the following path:

"/Applications/**GoogleAppEngineLauncher.app**/Contents/Resources/ 
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/"

Notice this path includes a .app file (!?). I tried to navigate this structure and I can find the GoogleAppEngineLauncher.app file but can't navigate into it. I even tried pasting the path into the dialog directly... no luck.

What am I doing wrong? Help!

Yours, Confoosed.

Edit
Report

1 Answer

23

Put /usr/local/google_appengine as the path to ${GOOGLE_APP_ENGINE} and Eclipse will resolve that symlink to /Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine.

You should be able to see the /usr folder under Eclipse, which you normally won't see under Finder.

answered 2011-02-06T05:49:10.050

Your Answer