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

Support Jetty in sdkman #11546

Closed
gregw opened this issue Mar 21, 2024 · 6 comments
Closed

Support Jetty in sdkman #11546

gregw opened this issue Mar 21, 2024 · 6 comments

Comments

@gregw
Copy link
Contributor

gregw commented Mar 21, 2024

Jetty version(s)
all

Enhancement Description

implement jetty installation via sdkman

@joakime
Copy link
Contributor

joakime commented Mar 21, 2024

Got a link to what this means?

@joakime
Copy link
Contributor

joakime commented Mar 21, 2024

https://sdkman.io/

@gregw
Copy link
Contributor Author

gregw commented Mar 22, 2024

Typically sdkman is used to install SDKs like the JVM, but tomcat has been provided as a candidate (see below). I have asked on stackoverflow if this is a thing that we should support, but no answers yet.

================================================================================
Available Tomcat Versions
================================================================================
     11.0.0-M12          9.0.75              8.5.73                             
     10.1.14             9.0.74              8.5.60                             
     10.1.12             9.0.73              7.0.109                            
     10.1.11             9.0.72              7.0.106                            
     10.1.10             9.0.65                                                 
     10.1.9              9.0.56                                                 
     10.1.8              9.0.40                                                 
     10.1.7              8.5.94                                                 
     10.1.6              8.5.92                                                 
     10.0.22             8.5.91                                                 
     10.0.14             8.5.90                                                 
     9.0.81              8.5.89                                                 
     9.0.79              8.5.88                                                 
     9.0.78              8.5.87                                                 
     9.0.76              8.5.86                                                 

================================================================================
+ - local version
* - installed
> - currently in use
================================================================================

@olamy
Copy link
Member

olamy commented Mar 22, 2024

sounds good idea. I'm using sdkman for years now as it is very convenient to manage jdk, maven etc,,
Not sure if this will be used a lot for Jetty but at least we can take this as some marketing :)
I'm happy to have a look.

@olamy olamy self-assigned this Mar 22, 2024
@olamy
Copy link
Member

olamy commented May 27, 2024

PR created here sdkman/sdkman-db-migrations#694.
Only for last 10.0.x/11.0.x/12.0.x

@olamy
Copy link
Member

olamy commented May 27, 2024

Confirmed as working.

olamy@pop-os:~/dev/sources/jetty/sdkman-db-migrations$ sdk update

Adding new candidates(s): jetty

Removing obsolete candidates(s): ktlint

Please open a new terminal now...
olamy@pop-os:~/dev/sources/jetty/sdkman-db-migrations$ sdk install jetty 12.0.9 

Downloading: jetty 12.0.9

In progress...

###################################################################################################################################################################### 100.0%

Installing: jetty 12.0.9
Done installing!


Setting jetty 12.0.9 as default.
olamy@pop-os:~/dev/sources/jetty/sdkman-db-migrations$ jetty.sh 
Usage: jetty.sh [-d] {start|stop|run|restart|check|supervise} [ CONFIGS ... ] 

@olamy olamy closed this as completed May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

3 participants