Google AppEngine on Netbeans 8

Even though Google does not officially support Netbeans IDE, it is still possible to develop Google App Engine applications with Netbeans 8.

This article originally appeared on https://techtavern.wordpress.com

There has been a Netbeans plugin for Google App Engine hosted at Kenai, which seems to have been left on its own since June 2009. Fortunately, the project was forked by Gaelyk and who updated the plugin for Netbeans 7.4. I was pleased to confirm that his plugin also works for Netbeans 8.0 and for Google App Engine 1.9.x. And I assure that it work better than that dumb Eclipse Web Tools Platform.

  1. Download the zipped file for Netbeans 7.4 from the Gaelyk download page.
  2. Extract the zip file into some directory.
  3. In Netbeans 8.0, follow to menu “Tools”, “Plugins”. And within the dialog, to “Downloaded” tab. Click “Add Plugin” and browse to the folder.
  4. Select all .nbm files and confirm.
  5. Watch out, don’t close the dialog! Instead, click on the small “Install” button at the left bottom corner.
  6. Go through the Wizard, confirm license, confirm “plugins not signed” warning and go on.
  7. Now you may close the dialog.
  8. Restart Netbeans.

Now, its time to configure the Google App Engine server.

  1. Open the “Services” window.
  2. Right click the “Servers” entry, select “Add server”.
  3. Go through the Wizard, select “Google App Engine”, browser to the directory where you previously unzipped it,  confirm ports and DataNucleus.

Everything is ready: create a new “Java Web”, “Web Application” projects. It will produce a projects that compiles using a standard Netbeans Ant build.

The Netbeans Appengine plugin is not compatible with newest Google Appengine Java SDK anymore. See this article for an workaround.

 

6 Responses to Google AppEngine on Netbeans 8

  1. ilan says:

    Thanks for the post. All went well until the last step about browsing to the directory where the Google App Engine is located. I browsed to the directory and Netbeans tells me “Provide a valid Google App Engine Location”. I have it pointing to the directory with the 6 nbm files, updates.xml and licenses directory. Any idea what I could be missing? What is it looking for?
    Thanks,
    Ilan

    • ilan says:

      Sorry. I missed that I need to download the appengine-java-sdk-1.9.10. It is now OK, or at least it looks good. Now to actually try it.

  2. harshad says:

    It was my antivirus(avast)! it was not allowing to upload the app. After disabling it i was able to upload the app

  3. dhvani says:

    after browsing appengine-java-sdk-1.9.10 then too it show throws message “Provide a valid Google App Engine Location”

  4. Thanks a lot. It was really helpful for me.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: