Deploy GWT Application to Google App Engine using NetBeans - google-app-engine

I try to deploy a GWT application, to Google App Engine using NetBeans.
I had successful run GWT sample http://code.google.com/webtoolkit/doc/latest/tutorial/create.html using Personal GlassFish v3 Prelude Domain, by
1) Copy generated source code from StockWatcher to C:\Projects\StockWatcherNetbeans\src\java\com\google\
2) Modify C:\Projects\StockWatcherNetbeans\nbproject\gwt.properties
gwt.module=com.google.gwt.stockwatcher.StockWatcher
3) Select Personal GlassFish v3 Prelude Domain, and run.
All works fine!
Now, I try to select Google App Engine server, and run. However, I get the error
"There is no appengine web project
opened!"
I check... There is file called
C:\Projects\StockWatcherNetbeans\war\WEB-INF\appengine-web.xml
with content
<?xml version="1.0" encoding="UTF-8"?>
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0"
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:schemaLocation='http://kenai.com/projects/nbappengine/downloads/download/schema/appengine-web.xsd appengine-web.xsd'>
<application>StockWatcherNetbeans</application>
<version>1</version>
</appengine-web-app>
I am using
NetBeans 6.7.1
GWT4NB (GWT Plugin for NetBeans) 2.6.12
Google App Engine plugin for NetBeans from http://kenai.com/downloads/nbappengine/1.0_NetBeans671/updates.xml
Anything I had missed out?
Even when I right click to the project, the Deploy to Google App Engine options is disabled.
And yes, please do not ask me why not use Eclipse.

Starting with GWT 1.6, static files
have been moved to /war.
Instead of using war folder, I rename it to web folder. The Google App Engine plug-in comes with NetBeans needs the files to be placed in web folder.

Related

can't run or deploy Google App Engine from IntelliJ

I'd like to deploy an app on GAE, but I think I must be missing something.
I've downloaded the google cloud code plugin for IntelliJ.
I've installed the gcloud SDK
I've authenticated with my google account
I've created a new project of type GAE project, which in the project structure window shows the GAE facet, and has an appengine-web.xml file.
Yet when I try and run my new project the log shows an error:
21:51 Error running 'Google App Engine Deployment': Deployment is not selected
I presume it's referring to this window:
As you can see there are no deployments. When I try to edit the Run configuration, there's not much there:
What am I doing wrong?
what happens if you try adding AppEngine support explicitly, i.e. using Tools -> Cloud Code -> App Engine -> Add App Engine Support -> App Engine Standard menu? Will the deployment target appear or anything changes?

Mapping project-name and application-id in GAE

I am trying to deploy my project on the appengine. I use maven to build it. Name of my project (say, project-name)and the application-id on the appengine are different. Is there a way to map the application-id with my project? Every time I say,
mvn appengine:update
I get an error message like
This application does not exist (app_id='project-name').
Since I have not said which application-id to map it with, it attempts to find an application-id same as y project name. How should I fix this?
The appengine-application.xml and appengine-web.xml files contain general information used by App Engine tools when your app is deployed. Put your application ID (the ID you registered when you created your application in the Google Developers Console) into <application> element.
appengine-application.xml
<appengine-application xmlns="http://appengine.google.com/ns/1.0">
<application>your-application-id</application>
</appengine-application>
appengine-web.xml
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
<application>your-application-id</application>
<module>default</module>
<version>v1</version>
...
</appengine-web-app>
All the App Engine Configuration information is store in the appengine-web.xml You must need to update them as per your google app engine project information.
For example my
project id : prabhatabc-2012
& i want to run my application on the version : v2
so i need to update my appengine-web.xml file project id(prabhatabc-2012) in <application></application> and version in <version>v2</version>
<application>prabhatabc-2012</application>
<version>v2</version>

Deploy Google App Engine backend from Android Studio

Is it possible to deploy a Google App Engine backend module in Android Studio as a Google App Engine project (on Google's servers)? In eclipse this was possible with the plugin, but now I don't see how to do this or found someone else doing this.
If you want to see what's under the hood of gradle:
gradlew tasks
If you want only the .war file
gradlew war
Will do the job:
gradlew appengineUpdate
You can do this from UI itself. Go to
Build -> Deploy Module to App Engine
If you are deploying this for the 1st time then you will have to sign in to your google account by using add account button.

mirror-api java quick start project deploy to app engine

can anyone help me as to how to deploy the mirror-api java quick start project to google app engine? I have imported the project into Eclipse via the maven import and made the war file: mvn war:war
I am able to run it locally without any problems
dont know how to deploy to app engine, I have created an appspot project inside google app engine as well
check it out https://github.com/googleglass/mirror-quickstart-java/tree/app-engine
there's a tag on official repo!

Google App Engine plugin on NetBeans 6.9.1

I followed the instructions on this site: Getting Started With Google App Engine and NetBeans.
When I try to add a Google App Engine server, I correctly point it to the .app file on my computer. But it still complains to "Provide a valid Google App Engine location". Why is this so? Which location does the plug-in want?
I downloaded the sdk zip file from google, http://googleappengine.googlecode.com/files/appengine-java-sdk-1.7.3.zip,
and then unzipped the file into a java sandbox subdirectory of my home directory. I then pointed to the unzipped directory structure and it worked.
I'm not familiar with netbeans, but it appears it wants a path to the App Engine SDK. This is a subfolder of the app, /Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine.

Resources