Google App Engine Support

If 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.

This entry was posted in New Features and tagged , . Bookmark the permalink.

22 Responses to Google App Engine Support

  1. Dave Griffith says:

    Okay, now you’re just being mean. Stop Teasing and Release!!!!!

  2. Julian says:

    Yay! I’ve been waiting for a while!

  3. Trond Andersen says:

    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?

  4. Mingfai says:

    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?

  5. Matt says:

    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.0binjava -Dhttp.proxyHost=proxy.xxx.com -Dhttp.proxyPort=80 -classpath C:appengine-java-sdk-1.2.1libappengine-tools-api.jar com.google.appengine.tools.admin.AppCfg update C:workspacetestoutexplodedtestWeb

    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.

  6. Nikolay Chashnikov says:

    I’ve just uploaded updated version of the plugin. It should fix problem with a proxy.

  7. Mingfai says:

    is JPA supported? for the latest plugin, it doesn’t enhance any JPA Entity by default.

  8. Pauli says:

    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?

  9. Nikolay Chashnikov says:

    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.

  10. Murali Varadarajan says:

    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.

  11. Gaurav Misra says:

    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?

  12. Jesse says:

    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.

  13. Jeffrey Goetsch says:

    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

  14. 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.

  15. Mikko says:

    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?

  16. Mikko says:

    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.

  17. Dan says:

    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.

  18. Savvyness says:

    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.

  19. Dario Busco says:

    0.0.0.0 binding issue resolved, you will need to add a few line in the AppEngineServerStartupPolicy plugin class in order to specify the required “-a 0.0.0.0″ option. Just recompile the class with that extra param and you are done, have fun!

  20. This page says that the google app engine is available for community edition as well : http://www.jetbrains.com/idea/features/google_app_engine.html

    However, the plugin is not supported even in the Maia CE version. Nor does it appear in the CE plugins list.

    Too bad :(

  21. yole says:

    Madhur,
    In fact this page doesn’t say that. Google App Engine is only supported in IntelliJ IDEA Ultimate.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">