google-app-engine


How do I get the path to the Cloud SDK directory using the gcloud command?


The Google App Engine Maven Plugin requires specifying where the Google Cloud SDK is located if it is not installed in the default location.
mvn appengine:deploy -DcloudSdkPath="WHAT_TO_PUT_HERE?"
Is there a way to get the location of the Google Cloud SDK from the gcloud command-line?
Yes, you can see that gcloud info provides this information as Installation Root: [/Users/username/google-cloud-sdk].
To get this information in a useful way, the gcloud command provides a global format option. Use gcloud --format=json info to see that there is a dictionary installation which contains the key sdk_root pointing to the correct value.
Next, use the value format with a "projection" pointing to this value to just get the SDK root path.
$ gcloud --format='value(installation.sdk_root)' info
/Users/username/google-cloud-sdk
To use this for the App Engine Maven Plugin,
mvn appengine:deploy -DcloudSdkPath="$(gcloud --format='value(installation.sdk_root)' info)"

Related Links

How can I speed up the App Engine bulk downloader?
How to point a domain path to my App Engine application?(not subdomain)
Is there a (cheap) way to check if a entity exists?
Google Appengine - JDO Queries on zero-to-one relationships
GAE Go Version 3 API error
How to use BulkLoader in google apps using java
Google App Engine TCP/IP connection
getServingUrl occasionally returning relative URL in appengine development server
How to do bulk deletes from Google App Engien Datastore
Data transition over multiple application versions
Understanding ReferenceProperty backend behavior in GAE
deployment of mahout on Google app engine
Avoiding unnecessarily large IDs in App Engine
XG-Transactions Fail in Google App Engine's Local Java Server — Run fine when deployed on Live GAE
How is the user authentication with Google accounts working inside the GAE technically
How to get all records from GAE datastore with particular parent?

Categories

HOME
phantom-dsl
phpword
scikit-learn
github-for-windows
case
powerpoint
solaris
package
graphics
ms-access-2016
tail
nested-if
hpc
drop-down-menu
cumulocity
symbol
do-while
microsoft-dynamics-nav
pyramid
digital-signature
sse
springfox
joptionpane
ckfinder
siri
nstimer
tizen-tv
twiml
gnat-gps
sharding
alphabetical
google-knowledge-graph
tex
android-augmented-reality
gdata
verifiable-c
google-data-api
watchface
skylink
android-softkeyboard
logback-groovy
lpsolve
vaadin-elements
corruption
magic-draw
sundials
seq
pybrain
shinobi
ampps
simplepie
reporting-services-2012
parfor
async.js
burrows-wheeler-transform
synonym
fink
rate-limiting
intel-c++
rubaxa-sortable
eoferror
baasbox
dnssec
git-ftp
umlgraph
qtwebengine
cosine-similarity
uncaught-typeerror
formview
draw2d-js
terminate
menubar
android-audiorecord
embedded-fonts
scrypt
dopostback
patricia-trie
wiimote
convention
htdocs
landscape-portrait
google-floodlight
tmx
mtu
binomial-heap
ajax-polling
duplex
tui
localizable.strings
application-planning
leader

Resources

Encrypt Message