I haven't done much with Google App engine lately and the last time I worked on it was when the SDK was 1.9.25 and the Eclipse plugin was seamless. Now after quite some digging, I found that Google changed everything to Google cloud tools and that Java 8 is only supported by it. So I downloaded Eclipse Oxygen and updated the plugin. I created a new project with Google Standard environment and am trying to run the sample project that it generated. Now I get the following error
ERROR: (gcloud.components.update) Your current working directory is inside the Cloud SDK install root: C:\Users\\AppData\Local\Google\ct4j-cloud-sdk\LATEST\google-cloud-sdk. In order to perform this update, run the command from outside of this directory.
I read through some posts and found older python installation (2.7 version), so I removed the System and User path references. I also created an Environment variable for CLOUDSDK_PYTHON with value of C:\Users\<user name>\AppData\Local\Google\ct4j-cloud-sdk\LATEST\google-cloud-sdk\platform\bundledpython\python.exe
. Yet I am still stuck in the same error. I just wanted to use latest version to port to Java 8 runtime.
Full log from Eclipse console is as below
[Installing Google Cloud SDK]
Welcome to the Google Cloud SDK!
Your current Cloud SDK version is: 204.0.0
Installing components from version: 204.0.0
ERROR: (gcloud.components.update) Your current working directory is inside the Cloud SDK install root: C:\Users\<user name>\AppData\Local\Google\ct4j-cloud-sdk\LATEST\google-cloud-sdk. In order to perform this update, run the command from outside of this directory.
This will install all the core command line tools necessary for working with
the Google Cloud Platform.
[Installing Google Cloud SDK]
Welcome to the Google Cloud SDK!
Your current Cloud SDK version is: 204.0.0
Installing components from version: 204.0.0
ERROR: (gcloud.components.update) Your current working directory is inside the Cloud SDK install root: C:\Users\<user name>\AppData\Local\Google\ct4j-cloud-sdk\LATEST\google-cloud-sdk. In order to perform this update, run the command from outside of this directory.
This will install all the core command line tools necessary for working with
the Google Cloud Platform.