Google App Engine Support
May 22nd, 2009 by Nikolay ChashnikovIf you are developing a Java application for Google App Engine, try Google App Engine Integration plugin for IntelliJ IDEA. It will be bundled with the first Maia EAP, but you can download it right now and use with IntelliJ IDEA 8.x
After plugin is installed, start the New Project wizard, select Google App Engine and specify path to the App Engine SDK (you can download it from here, for example). IntelliJ IDEA will add all required descriptors, libraries and create a run configuration for your application, so you can quickly get started with its development.
Tags: Google App Engine
May 22nd, 2009 at 12:24 pm
Okay, now you’re just being mean. Stop Teasing and Release!!!!!
May 24th, 2009 at 9:31 am
Yay! I’ve been waiting for a while!
May 25th, 2009 at 7:05 am
BRAVO!
June 2nd, 2009 at 6:02 am
How will the Google App Engine support play together with the Grails support? Can the IntelliJ plugin notice that the google app engine plugin for Grails is used?
June 4th, 2009 at 1:24 pm
Just trying the App Engine support in the latest EAP (build 10322), and I’m able to create and deploy a new web project easily. Good job!
The next thing I want to do is to have a Maven GAE project. The app engine is available only in new Java project creation (no maven project), and it is not allowed to use add framework support to add App Engine support to a Maven project. Just wonder if a Maven GAE project is doable?
June 16th, 2009 at 8:40 pm
Thankyou for this. One issue though is that the plugin does not respect intellij internet proxy settings.
In order to deploy behind a proxy, one needs to add java system properties :-
e.g.
C:\jdk1.6.0\bin\java -Dhttp.proxyHost=proxy.xxx.com -Dhttp.proxyPort=80 -classpath C:\appengine-java-sdk-1.2.1\lib\appengine-tools-api.jar com.google.appengine.tools.admin.AppCfg update C:\workspace\test\out\exploded\testWeb
So.. we need to add support for the following system properties
-Dhttp.proxyHost=proxy.xxx.com -Dhttp.proxyPort=80
-Dhttps.proxyHost=proxy.xxx.com -Dhttps.proxyPort=80
I could not work out from intellij where to add this. So instead must upload manually to GAE through a shell script.
June 18th, 2009 at 10:52 am
I’ve just uploaded updated version of the plugin. It should fix problem with a proxy.
June 18th, 2009 at 9:09 pm
is JPA supported? for the latest plugin, it doesn’t enhance any JPA Entity by default.
July 2nd, 2009 at 11:51 am
Hi
I cannot get JDO or User Service to run in the development server.
I have an App Engine run configuration and my app deploys and run fine unless I invoke some JDO or User-Account-Service code. Then it complains about not finding classes (jdo or userservice). Do I need to Add jarS to the appengine server?
July 3rd, 2009 at 5:19 am
Yes, you need to add jars from/lib/user/orm to the dependencies list for your module. IDEA will add these libraries automatically if you mark “JDO persistence” checkbox in the module wizard.
July 10th, 2009 at 10:17 pm
Hi Nikolay,
Does the plugin work with Grails + Google App Engine combination. For some reason, when I try to run google app engine server via IDEA, it doesn’t recognize my grails project properly. I am planning to download EAP and try the same.
July 29th, 2009 at 5:10 pm
Hi,
I want to be able to bind to all interfaces by passing –address=0.0.0.0 as a program parameter to DevAppServerMain class. Is there such an option available?
August 2nd, 2009 at 11:31 pm
I am currently using Eclipse to develop GWT applications. I have just started using it, and i hate it. So this plugin would be great. since I do all my other development in Intellij. But, I have tried to figure out how to run the hosted mode in Intellij, like it does in Eclipse. Are there any instructions on how to get hosted mode configured? Currently, the application I am trying to run, says the server is running, but the app never comes up. And when I try to pull up on a browser, the app engine tells me I need to recompile. Which should not be the case, because it runs fine in Eclipse. Help, please.
August 9th, 2009 at 1:57 am
I am having the same issues as Jesse. I would like to get GWT + GAE in Hosted mode. I did some research and found that you should be able to add the -server com.google.appengine.tools.development.gwt.AppEngineLauncher to the GWT shell parameters to run the GAE server rather than the standard server, but I can’t seem to get this to work.
Are there plans to combine the GWT and GAE plugins? Will GWT plugin be updated to work with GAE?
Thanks
August 9th, 2009 at 7:06 am
I am trying to incorporate Grails, GAE and GWT technologies in one single project. The problem I am facing now is that I have to configure two separate “Web” configurations. One Web configuration is for Grails which Web folder have to be called “web-app” and another configuration is for GAE/GWT which Web folder have to be called “war”. Actually the names “war” and “web-app” are not the real problem but the implications of the different Web folder structures of Grails and GAE/GWT.
As merging these different web folder structures may became complicated, could you in the first step, provide an option to rename the default Grails folder to e.g. “war” (haven’t tried this yet) resp. to rename the default GAE/GWT folder to “web-app” (which is possible as have tried this option). It would simplify the debugging for people working with both Grails and GAE/GWT as well as to find a common and SIMPLE(!) structure for a Grails/GAE/GWT project in the second step.
August 31st, 2009 at 6:58 am
I tried to import (from version control) an existing GAE+GWT Eclipse project, but this import did not the connect project with GAE or GWT in IDEA. I added (via facets) GWT manually, but cannot add GAE that way, it seems.
Should importing of an existing project GAE work?
September 8th, 2009 at 7:21 am
Importing a GAE+GWT Eclipse project as source project (instead of Eclipse project) works OK. In addition, I added a web facet to the project manually, and connected the output of GWT Facet to Web Facet. After these I was able to continue developing my app in IDEA.
October 2nd, 2009 at 5:55 pm
I am having a heck of a time getting this to work. When I go to build a new Java project I select GAE and GWT. The structure that I am given does not seem to be what I see in other posts. Everyone says they have a war folder. I don’t have that created for me.
Does anyone know of a place that has step by step directions on how to get these two working together? I have looked everywhere but have not found anything.
February 19th, 2010 at 7:21 am
I gave the Google App Engine Integration plugin for IntelliJ a try and its been working great for me. As for as finding a step by step guide, youll have to read through the coding manual.