Gradle 0.9.2 with Appengine 1.4.2 - google-app-engine

Is there a Gradle plugin (compatible with Gradle 0.9.2) that'll let me deploy to Google App Engine 1.4.2?
If yes, how can I integrate it (build.gradle snippet)?

Axel,
today is your lucky day. ;-) I just released a Gradle GAE plugin that provides tasks for uploading, running and managing Google App Engine Java projects. Give it a shot. The
documentation describes setup and convention properties in detail. Let me know if you have feedback or feature requests.

The Spring Security build uses gradle to deploy a sample app to GAE. You could copy that (see the sample app gradle file), or clone the repo and use it in place as a guide. It uses a simple internal plugin.

Related

How do I find my Google App Engine SDK installation

I am following a tutorial (https://github.com/GoogleCloudPlatform/gradle-appengine-plugin) on using google app engine to deploy from gradle.
It say to point to your local installation of Google App Engine SDK. Except I don't really know how to find this, how would I find this?
You are following an older tutorial. Please use the new tutorial for the new gradle plugin as your point of reference. The new tutorial does not require this information.
In regards to your question location of the SDK, it depends on the Operating System.
You can run the command gcloud info which will detail about the installation. See Installation Properties for more details about the install path.

Google Endpoints V2 and Maven plugin version?

We have a multi-module (war-packaged) project that uses com.google.appengine - appengine-maven-plugin target being ear file.
We have migrated succesfully to Java8 and EndpointsV2. It builds and runs fine in Cloud. However the following requirement is still a bit questionmark in the migration instructions. What is the reason behind this incompatibility and requirement? Or is it just related to for example "discovery docs" that we are not using anyway?
The old App Engine Maven plugin, with group com.google.appengine, is incompatible with the Endpoints Framework plugin. You must use the new version shown above
https://cloud.google.com/endpoints/docs/frameworks/java/migrating
If you aren't using discovery docs or generated client libraries and are only using Endpoints as a library dependency, you can remove the Endpoints plugin and the error should go away.

Trying to find sample (eclipse project) for GWT / App Engine datastore

Someone must know of a working eclipse project for GWT / App Engine datastore ?
I tried to find a completed sample for the stockwatcher with JDO tutorial, but
no luck.
I found 2 Objectify samples: listwidget (checkout failed)
and gwt-objectify-appengine (Maven build failed, complained
about missing appengine-api-1.0-sdk-1.5.1.jar, which was actually present).
Ideally I'm looking for something minimal, an RPC app that will deploy to App Engine & save/reload a few values.
Thanks for your help
In the GWT downloads page on google-code, you can find the code for the tutorial application StockWatcher. This zip is the StockWatcher app configured for Google App Engine. It does not use Maven. Please have a look at the README.txt file in the zip file for detailed instructions on how to import the project in Eclipse.
It is the code that lets you start this tutorial from step 3.
GWT's own MobileWebApp is one such sample project. It's mavenized so to make it an Eclipse project simply check it out as a Maven project in Eclipse (assuming you have m2e installed).

clojure maven configure

i had very nice dev. env. - clojure, maven and jetty with hot deploy. now i moved to google appengine and i can not figure out how to configure maven achieve hot deploy
There is a bug with gae:run that currently doesn't hot deploy changes (see Issue 47). Maybe try the suggested workaround.
There is a google app engine plugin for maven that supports deploy. Hot-deploy is not mentioned but this is where I'd start. Not sure if it works for clojure but I see not reason why it wouldn't.

Maven + Grails + App Engine

Has anyone used Maven, Grails, and App Engine together?
I can use Maven with Grails and Grails with App Engine, but using them in concert gives me the following error:
The command 'grails run-app' is not supported with AppEngine. Use 'grails app-engine' to start the application
Is there any way to "pass through" the Maven goal to access app-engine plugin for grails?
AFAIK, the Maven Grails plugin does not support the features introduced by Grails AppEngine Plugin yet. So, for now, you have to run (not sure what you mean by "pass through BTW):
grails app-engine run
In the command prompt, you can run:
mvn grails:exec -Dcommand="app-engine" -Dargs="run"
Which will do exactly what you want it to do.

Resources