From 1051a59507df9a1f033c2000cf8f916926848e03 Mon Sep 17 00:00:00 2001 From: Tim Swast Date: Mon, 14 Dec 2015 11:58:55 -0800 Subject: [PATCH] Removed -Dversion parameter for App Identity example. This flag seems to be ignored by the gcloud plugin and the Managed VMs environment creates a new version if one isn't provided, anyway. --- appengine/appidentity/README.md | 12 +++++------- .../src/main/webapp/WEB-INF/appengine-web.xml | 1 - 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/appengine/appidentity/README.md b/appengine/appidentity/README.md index 95f7dfd1ff2..29b6beedf0f 100644 --- a/appengine/appidentity/README.md +++ b/appengine/appidentity/README.md @@ -10,18 +10,16 @@ To run this sample locally: ## Deploying In the following command, replace YOUR-PROJECT-ID with your -[Google Cloud Project ID](https://developers.google.com/console/help/new/#projectnumber) -and YOUR-VERSION with a suitable version identifier. +[Google Cloud Project ID](https://developers.google.com/console/help/new/#projectnumber). - $ mvn gcloud:deploy -Dversion=YOUR-VERSION -Dgcloud_project=YOUR-PROJECT-ID + $ mvn gcloud:deploy -Dgcloud_project=YOUR-PROJECT-ID ## Setup To save your project settings so that you don't need to enter the -`-Dgcloud_project=YOUR-CLOUD-PROJECT-ID` or `-Dversion=YOUR-VERSION-NAME` -parameters, you can make the following changes: +`-Dgcloud_project=YOUR-CLOUD-PROJECT-ID` parameters, you can: -1. Update the tag in src/main/webapp/WEB-INF/appengine-web.xml with your project name -1. Update the tag in src/main/webapp/WEB-INF/appengine-web.xml with your version name +1. Update the tag in src/main/webapp/WEB-INF/appengine-web.xml + with your project name. You will now be able to run diff --git a/appengine/appidentity/src/main/webapp/WEB-INF/appengine-web.xml b/appengine/appidentity/src/main/webapp/WEB-INF/appengine-web.xml index c3df08fec7d..21d1d476a5f 100644 --- a/appengine/appidentity/src/main/webapp/WEB-INF/appengine-web.xml +++ b/appengine/appidentity/src/main/webapp/WEB-INF/appengine-web.xml @@ -1,7 +1,6 @@ YOUR-PROJECT-ID - YOUR-VERSION-ID true true