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

sbt new templating: reflective api for GUIs #3581

Open
jastice opened this issue Sep 26, 2017 · 3 comments
Open

sbt new templating: reflective api for GUIs #3581

jastice opened this issue Sep 26, 2017 · 3 comments
Labels
uncategorized Used for Waffle integration

Comments

@jastice
Copy link
Contributor

jastice commented Sep 26, 2017

Since Activator is being decommissioned, I'd like to replace the template support in the Scala plugin with sbt new support.

Problem is that the TemplateResolver interface as it is would force users to go to the command line to supply parameters to g8 (or any other resolver) after choosing a template.

For g8 at least, it would probably be sufficient to be able to query parameters, default values, etc via the sbt shell or server and provide them to the GUI.

If this is a reasonable addition I can work on implementing it.

@eed3si9n
Copy link
Member

As you noted sbt new just hands off the control to underlying program via sbt-giter8-resolver (or sbt-fmpp-resolver).

You probably can emulate the CI dialog by reading the properties file. I think that's a good idea.

@jastice jastice changed the title reflective api for GUIs sbt new templateing: reflective api for GUIs Nov 24, 2017
@jastice jastice changed the title sbt new templateing: reflective api for GUIs sbt new templating: reflective api for GUIs Nov 24, 2017
@nafg
Copy link
Contributor

nafg commented Jun 22, 2018

What's the plan with this?

@jastice
Copy link
Contributor Author

jastice commented Jun 25, 2018

As discussed in https://youtrack.jetbrains.com/issue/SCL-10898 we'll consider supporting giter8 directly, which should make it easier to integrate.

@eed3si9n eed3si9n added the uncategorized Used for Waffle integration label Sep 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
uncategorized Used for Waffle integration
Projects
None yet
Development

No branches or pull requests

3 participants