Re: [google-appengine] Set up Google Cloud SDK or App Engine SDK or both for development?

2018-05-17 Thread Grass CFA
Hi all,

Thanks for all that you have replied!

This is what I have on the Google Cloud Tools settings on Eclipse. If I 
have unchecked the "Choose SDK" option the SDK Location area was greyed 
out, so that it stopped me specifying a different SDK location here.




I have successfully run a Hello World Google App Engine Standard Java 
project. The project structure is as below. I didn't include the App Engine 
API and obviously the App Engine SDK Jar file is not included either. But 
the project still compiled and ran. The App Engine Standard Runtime only 
contains the servet and jsp api jar files. I couldn't find anywhere I can 
reference the App Engine SDK jars. Are the servlet api and jsp api 
sufficient for an App Engine project to run? This is really confusing me.




Thanks!

Cheers,


On Friday, May 18, 2018 at 5:02:13 AM UTC+10, George (Cloud Platform 
Support) wrote:
>
> What makes you think that the Eclipse automatically uses the SDK jar files 
> from the local Maven repository? 
>
> In any case, you can select the SDK installation you prefer. In the 
> Eclipse Preferences dialog, the Google Cloud Tools setting shows the Google 
> Cloud SDK configuration. When the Choose SDK checkbox is clear, then Cloud 
> Tools for Eclipse is managing the SDK. You can choose right there the 
> version of the SDK you prefer, and the way this is managed. The 
> illustration to be seen on the "Managing the SDK for Your Project" 
> documentation page  
> should be quite helpful. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/08753726-b9cf-4d63-b5ea-86f9f5b45b9d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Set up Google Cloud SDK or App Engine SDK or both for development?

2018-05-17 Thread Grass CFA
Hello George,

Thank you for your reply.

I have instlaled the Google Cloud Tool for Eclipse from Google Marketplace 
following the instructions. Google Cloud SDK has also been downloaded and 
installed separately.

My question was regarding to Google App Engine SDK. It seems the Eclipse 
automatically uses the SDK jar files from the local Maven repository (see 
the screenshot as above please) rather than the SDK that I downloaded and 
installed separately. 
https://cloud.google.com/appengine/docs/standard/java/download

Is it managed by the Google Cloud Tool for Eclipse (gcloud)? How can I 
configure Eclipse to use the SDK that I downloaded and installed? I 
couldn't find any instruction as to it.

Hope it was made clear to you.

Cheers,


On Thursday, May 17, 2018 at 3:40:09 AM UTC+10, George (Cloud Platform 
Support) wrote:
>
> There are other ways to install the Cloud SDK, the preferred one is in 
> conjunction with installing Cloud Tools for Eclipse. While installing the 
> tools, it searches your computer for the Cloud SDK. If it can't find the 
> SDK, then it automatically downloads the latest version of the SDK. It also 
> periodically checks for and installs updates as needed. Regarding the 
> reference to the SDK from Eclipse, you can either allow Cloud Tools for 
> Eclipse to automatically manage the SDK for you, or you can manage the SDK 
> yourself.
>
> There is no duplicate work, as the Cloud Tools install searches your 
> computer for the Cloud SDK to reuse it. In short, you can download and 
> install the SDK separately, your work won't get wasted. You may check the 
> "Managing the SDK for Your Project" online document 
> for reference. 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/4642397c-a8b6-4d1e-a052-8f8f42d3fe10%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Set up Google Cloud SDK or App Engine SDK or both for development?

2018-05-16 Thread Grass CFA


Hi,

I am setting up a dev environment on Eclipse Neon.3 for App Engine 
development.

According to the Google Cloud Platform documentation, developers will need 
to download and install Google Cloud SDK through Eclipse Marketplace. 
Developers will also need to download and install the App Engine SDK 
separately.

https://cloud.google.com/sdk/
https://cloud.google.com/appengine/docs/standard/java/download

It also states the gcloud app Java extensions have to be download and 
installed along with Google Cloud SDK.

I have done the installation of Google Cloud SDK and its gcloud app Java 
extensions.


My question is what is the point to download and install the App Engine SDK 
separately if the Google Cloud SDK has already contained the App Engine 
SDK? If so, does it sound like duplicated work?

I have created a testing Google App Engine Standard Java project using the 
Google Cloud wrizard on Eclipse. It seems the App Engine SDK comes from my 
local Maven repository.



If the App Engine SDK has to be downloaded and installed separately, how 
can it be referenced for use in the Eclipse project instead of the one in 
the Maven repository?

Google Cloud SDK, the gcloud app Java extensions, and App Engine SDK, these 
are all very confusing to me.

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/42cd276e-596a-41df-9a3e-5f870c790d96%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.