-
Notifications
You must be signed in to change notification settings - Fork 395
3.3.0-RC1 spring shell version doesn't show the shell prompt #1081
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
Comments
Just found out this is due to by default interactive mode is set to off in Spring Shell 3.3.0-RC1. Not sure if this is by design. I was able to re-enable by adding the following to
An updated version of the same project: demo 3.zip |
Indeed this is intended breaking change in Part of better testing stories so that default skeleton project would not hang when running tests which was always confusing for users. |
I see. Thanks for confirming. So no more meddling with the test configurations like this then! :
|
Yes, that was partially motivation for a change and we can only do behavioural changes like this with minor versions. |
I used the start.spring.io intializer to generate a Spring Shell project with GraalVM. The version 3.3.0 Spring Boot with the Spring Shell version 3.3.0-RC1 does not by default (or able to get there in anyway I could see) get to the shell prompt (
shell:>
).This is the POM overall. And will attach the sample project too to this.
Would it be possible to get some light shed on this please?
I'm not sure if its a but or some expected changes here.
A sample project to demonstrate the issue:
demo 2.zip
Observation
The parameters seem to work (
hello
custom command,help
default commands etc would print the outputs as expected.). However not the standard prompt.Wen run with no parameters application exits with below lines at the end:
Expected result
Expectation is that when the project is run (DemoApplication class), the shell prompt should come thorough and let the user interact.
NOTE:
<spring-shell.version>3.2.4</spring-shell.version>
works fine. Only<spring-shell.version>3.3.0-RC1</spring-shell.version>
found to have this issue.The text was updated successfully, but these errors were encountered: