I’ve tried for longer than I’d like to admit and I’ve tried using NetBeans 6.9 to 7.1.2 and I’ve tried using multiple JDKs and such.
I’m following the directions here: http://rocky.developerblogs.com/tutorials/getting-started-google-app-engine-netbeans/ and I’m trying to simply run the Guestbook sample project in NetBeans.
I’ve gone into System Properties and edited/created the following variables:
ANT_HOME: C:\Program Files\NetBeans 6.9\java\ant
CLASSPATH: C:\Program Files (x86)\Java\jdk1.6.0_31
JAVA_HOME: C:\Program Files (x86)\Java\jdk1.6.0_31
PATH: C:\Program Files (x86)\Java\jdk1.6.0_31\bin
Despite changing the variables, NetBeans would run the project and kept saying it couldn’t find tools.jar. I ended up just copying tools.jar into the folder it was looking in (kept looking in the JRE folder… I couldn’t change it no matter what).
The program runs “fine”, but it gets stuck when it starts up Google App Engine and tries to deploy the project, but nothing happens… it just sits there and does nothing… I’ve noticed that in the Services tab, the icon for Google App Engine has a little time glass and never gets the green play icon…
Any ideas? Is it an Ant issue? I’m sorry if this is basic – I’ve been trying to do this for several days now…
This is code to add within appengine-web.xml :