Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New App Engine project wizards should allow selecting Cloud Libraries too #2907

Open
briandealwis opened this issue Mar 7, 2018 · 6 comments

Comments

@briandealwis
Copy link
Member

New App Engine project wizards should have a second page for selecting from the available Cloud Libraries.

@elharo
Copy link
Contributor

elharo commented Mar 7, 2018

How many people will want this? It may cost users more time than it saves.

@briandealwis
Copy link
Member Author

The current process is pretty hard to discover. It would be an optional page so that they can hit "Finish" from the first page. I think many App Engine projects will want Datastore (if they don't choose Objectify). Pub/Sub is also useful.

Compare to the New Java Project wizard that has an optional second page to configure the source roots, associated projects, and libraries for the project.

@elharo
Copy link
Contributor

elharo commented Mar 8, 2018

Endpoints and Objectify are on the initial screen:

image

We might add a second screen for the cloud client libraries, but at a minimum I'd like to fix GoogleCloudPlatform/appengine-plugins#526 first. Any thoughts about we should approach that? Should we move the more important libraries to the top of the list? Should we separate GA and non-GA libraries?

#2459 is a nice to have too.

P.S. Not a prerequisite, but the alignment of the cloud icon in this dialog still itches me every time I see it. Need to figure out how to move it a pixel down and left. #2029

@patflynn
Copy link

patflynn commented Mar 8, 2018

For libraries like translate and vision this makes a lot of sense. But we risk really confusing AE standard users because the google-cloud-java versions of the core app engine services such as datastore are either not ready, completely break the API, or have poor to no emulator support.

@elharo
Copy link
Contributor

elharo commented Mar 8, 2018

@briandealwis You mentioned the New Java Project wizard. That's a good comparison. To a large extent one our App Engine projects is a Java project, and that makes me wonder if it would be helpful to have a more general solution for handling external jars and such on project creation, much like the New Java Project wizard. This could handle cloud client libraries and non App Engine specific libraries such as JodaTime.

image

OTOH, the new Maven project wizard doesn't have anything like this. It's one screen and done, with no extra dependencies added on project creation.

@briandealwis
Copy link
Member Author

But Maven users are used to editing the POM, and they offer a POM editor that simplifies selecting items. Not to mention that no picker could ever scale to millions of artifacts :-)

I think it's more accurate to say we craft WTP Java web projects. They're not general Java projects. Most of the options in that Java Build Path panel are configured by WTP (or m2e-wtp).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants