Reputation: 3515
I have installed the latest Google Cloud SDK (200.0.0) and Google Cloud Tools on Eclipse Neon.3. The GCloud App Java Extensions have also been installed as below.
It seems the latest Google App Engine SDK 1.9.63 has been installed at: C:\Users{USERNAME}.m2\repository\com\google\appengine\appengine-api-1.0-sdk\1.9.63
According to Google App Engine online documentation, I had to download and unzip the SDK (appengine-java-sdk-1.9.63) to a different directory.
I would like to use the SDK that I downloaded but the one in Maven. How can I change the location of the installed Google App Engine SDK in Eclipse?
Upvotes: 0
Views: 961
Reputation: 4306
I would like to clarify a few things:
.m2\repository
is where Maven customarily caches Maven artifacts. Whenever any Maven projects make use of any JARs, they will generally be cached in that local repository. Since it is just a cache, you can safely delete the repository anytime in general. mvn package
, for example, will download and cache necessary JARs again..m2\repository\com\google\appengine\appengine-api-1.0-sdk\1.9.63
just contains a cached JAR: appengine-api-1.0-sdk-1.6.3-jar
. Certainly, you wouldn't call a single JAR "Software Development Kit (SDK)"; I would call it, if I have to, an App Engine API JAR. Also, the JAR might have been cached by someone else than "Google Cloud SDK"; any Maven project that makes use of the classes in the JAR would automatically cache it.Upvotes: 1
Reputation: 403
You cannot configure App Engine SDK in Eclipse, you can just configure Google Cloud SDK inside Eclipse Google Cloud Tools.
Google App Engine SDK is a component of the Google Cloud SDK {1} so you can install it this way:
gcloud components install [COMPONENT-ID]
If you are using Java, [COMPONENT-ID]
would be app-engine-java
.
Good luck!
{1}: https://cloud.google.com/sdk/docs/components
Upvotes: 0