May 13, 2014 6 Comments
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.
- Download the zipped file for Netbeans 7.4 from the Gaelyk download page.
- Extract the zip file into some directory.
- In Netbeans 8.0, follow to menu “Tools”, “Plugins”. And within the dialog, to “Downloaded” tab. Click “Add Plugin” and browse to the folder.
- Select all .nbm files and confirm.
- Watch out, don’t close the dialog! Instead, click on the small “Install” button at the left bottom corner.
- Go through the Wizard, confirm license, confirm “plugins not signed” warning and go on.
- Now you may close the dialog.
- Restart Netbeans.
Now, its time to configure the Google App Engine server.
- Open the “Services” window.
- Right click the “Servers” entry, select “Add server”.
- 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.