Skip to content

Commit

Permalink
Removed -Dversion parameter for App Identity example.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tswast committed Dec 14, 2015
1 parent a4111dd commit 1051a59
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
12 changes: 5 additions & 7 deletions appengine/appidentity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <application> tag in src/main/webapp/WEB-INF/appengine-web.xml with your project name
1. Update the <version> tag in src/main/webapp/WEB-INF/appengine-web.xml with your version name
1. Update the <application> tag in src/main/webapp/WEB-INF/appengine-web.xml
with your project name.

You will now be able to run

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
<application>YOUR-PROJECT-ID</application>
<version>YOUR-VERSION-ID</version>
<threadsafe>true</threadsafe>
<vm>true</vm>
</appengine-web-app>

0 comments on commit 1051a59

Please sign in to comment.