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

Facilitate generation of Javalin starter code #1840

Open
zugazagoitia opened this issue Mar 23, 2023 · 9 comments
Open

Facilitate generation of Javalin starter code #1840

zugazagoitia opened this issue Mar 23, 2023 · 9 comments

Comments

@zugazagoitia
Copy link
Member

As discussed in Discord we should provide a better distribution example/documentation/tool than we currently do in our hello-world tutorials, they let the user run but not package/deploy the application.

Options considered:

Many reported issues come from an incorrect distribution and this could help.

@dzikoysk
Copy link
Member

It might be also worth to mention, that we could probably record users' choices to gather some interesting metrics about current users (most likely newcomers).

@dzikoysk
Copy link
Member

dzikoysk commented Nov 1, 2023

Kotlin team created something similar for KMP in latest release:

And Ktor seems to have it for a while too:

@tipsy
Copy link
Member

tipsy commented Nov 2, 2023

I will have a lot of free time in December, so I could have a look at it then.

@zugazagoitia
Copy link
Member Author

Also some sources:

@HaydenMeloche
Copy link

HaydenMeloche commented Feb 11, 2024

another reference would be the quarkus cli
https://quarkus.io/guides/cli-tooling

it does a lot but has the ability to create projects from scratch.

I would be interested in contributing to this as well.

@jbuhacoff
Copy link

How does "facilitate distribution of javalin applications" correspond to a generator that lets you configure & download a new project to work on? Please consider renaming the issue to "facilitate generation of Javalin starter code" or something like that.

@tipsy tipsy changed the title Facilitate Distribution of Javalin Applications Facilitate generation of Javalin starter code Feb 18, 2024
@tipsy
Copy link
Member

tipsy commented Feb 18, 2024

Changed!

@zugazagoitia
Copy link
Member Author

How does "facilitate distribution of javalin applications" correspond to a generator that lets you configure & download a new project to work on? Please consider renaming the issue to "facilitate generation of Javalin starter code" or something like that.

This issue started because we wanted to provide a "default" option for people to package Javalin applications without improperly shading JARs, which causes problems for many people due to Jetty's runtime loading of classes.

@jbuhacoff
Copy link

I get it. My comment is merely that what the tool actually does is provide starter code, not distribute the app to where it will be installed. The tool will be a great addition though.

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

No branches or pull requests

5 participants