-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Review Jetty Maven Plugin scanning defaults #6020
Comments
I would prefer Perhaps we can change the behavior so that if a user types "redeploy" then the webapp is redeployed -- it should be an easy change in |
Signed-off-by: Jan Bartel <janb@webtide.com>
@janbartel the default for the "enter" key was off for 9.4.x. It has been changed to on for 10. I think off is a better default. Keep the functionality, just change the default. |
@sbordet let's forget about which key it is for the moment, let's just consider the functionality. There are two modes for the jetty:run goal: 1. automatic redeploy 2. manual redeploy. Is it worthwhile having another mode 3. never redeploy (which would be the default). Mode 3. is satisfied by mode 2. by simply not pressing whatever key causes the redeploy, so I think mode 3. is logically redundant. The other thing to consider is that jetty-10 has already been released, so changing the behaviour at this point might be considered a breaking change? Now, I understand you want to be able to press 'return' to make some blank lines on the output - if you hold down the 'space' key, you'll get the blank lines without a redeploy. WDYT? |
Signed-off-by: Jan Bartel <janb@webtide.com>
Signed-off-by: Jan Bartel <janb@webtide.com>
Signed-off-by: Jan Bartel <janb@webtide.com>
Signed-off-by: Jan Bartel <janb@webtide.com>
Jetty version
10.0.x
Description
By default, the Jetty Maven Plugin has
scan=0
which means when runningjetty:run
on a terminal, the following is printed:However, this default is confusing because hitting
<enter>
on the terminal is useful to separate start-up log lines from application log lines, or application log lines between different requests.Setting
scan=5
disables the above "hit enter" but prints:The time unit is wrong, should be
seconds
.Then, modifying
web.xml
and waiting for the re-scan, the following is printed:The text was updated successfully, but these errors were encountered: