Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Configuring App Engine path for PyDev on Mac

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.

like image 494
ConfusedNoob Avatar asked Feb 06 '11 05:02

ConfusedNoob


1 Answers

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.

like image 102
Y.H Wong Avatar answered Oct 14 '22 06:10

Y.H Wong