./appengine-java-sdk/bin/appcfg.sh -A [PROJECT_ID] -V [VERSION_ID] update [WAR_LOCATION]
This still works, both in Ubuntu Linux and (with .cmd instead of .sh) under Windows.
Since app engine management seems to be shifting towards gcloud, today I tried to deploy
using the command
gcloud app deploy [PATH_TO_APPENGINE_WEB_XML] --no-promote --no-stop-previous-version -v [VERSION_ID]
The command prompt displays a summary of what's going to happen and prompts me to continue:
---
Services to deploy:
descriptor: [...]
source: [...]
target project: [...]
target service: [...]
target version: [..]
target url: [...]
(add --promote if you also want to make this service available from
[https://greater-than-zero-hr.appspot.com])
Do you want to continue (Y/n)?
---
When I enter Y, deployment takes place and finishes successfully, the last message at the command prompt being
---
To view your application in the web browser run:
$ gcloud app browse
---
However, almost all of my files are skipped during the upload. The log file (see attachment) has a long list of
skipped files, followed by the information
Incremental upload skipped 97.44% of data
However, no reason for the skipping appears to be given. When I look at my versions, the new version is indeed
uploaded, but it is only ~17MB, whereas the version uploaded with appcfg is ~20MB. When I try to run the new
version, it immediately crashes with a "class not found" error, which is to be expected because my files aren't
there.
At first I thought that this had something to do with path length limits under Windows. However, the exact same
behavior happens under Windows and under Ubuntu Linux. As I said before, for now I'm good using appcfg for deployment
instead of gcloud. But I am worried that the old way of doing it will be discontinued. Therefore, I would like to get
deployment with gcloud to work. Please advise.
mvn appengine:deploy
$ gcloud app deploy ~/my_app/WEB-INF/appengine-web.xml
I'm going to have to respectfully disagree with you here. Below is a direct copy and paste from the page
To deploy an App Engine Standard Java service, run:
$ gcloud app deploy ~/my_app/WEB-INF/appengine-web.xml
gcloud
command-line tool does not deploy Java
applications to production App Engine--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/ad0a2922-dd35-4983-81f7-1d855ad97047%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.