-
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
Issue #9309 - Better jetty.sh integration for start.jar with eye on supporting odd properties #9313
Issue #9309 - Better jetty.sh integration for start.jar with eye on supporting odd properties #9313
Conversation
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
…tick when arg has space. Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
I think the usage of xargs in the jetty.sh script should be fine, but if there is a more strictly bash solution available, it may make sense to investigate that down the road if some reports an issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a couple of quick comments. I need to review in more depth once these are resolved.
jetty-start/src/main/java/org/eclipse/jetty/start/CommandLineBuilder.java
Outdated
Show resolved
Hide resolved
jetty-start/src/main/java/org/eclipse/jetty/start/CommandLineBuilder.java
Show resolved
Hide resolved
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
jetty-start/src/main/java/org/eclipse/jetty/start/CommandLineBuilder.java
Show resolved
Hide resolved
With these changes my 10.0.x fails to start as a services. Even before I try to set 'an odd property' (a custom request log format). A stacktrace:
The same configuration starts normally with 10.0.13. |
@amjaliks can you include more of the stacktrace on that exception? |
@joakime I got this fixed by using I replaced this (starting line 467):
With this:
End even more. I applied similar changes to
And this fixed #9309. |
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
@joakime You need to update lines 586 and 599, otherwise actions |
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This PR has missed 10.0.14. How about 10.0.15? |
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
…0.x/jetty-sh-start-properties
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
You have successfully added a new CodeQL configuration |
I've found a few problems with this branch on Windows that needs to be addressed. |
I have finished my testing on Windows. Other than the usual situation with overly long command lines, this PR appears to be working as intended on the Windows platform. |
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
@sbordet need a fresh approval, had to fix a build issue with javadoc |
When bridging output from
start.jar --dry-run
to theRUN_CMD
injetty.sh
weird properties with various special characters and spaces would mess up the command line that eventually gets executed.A change to
start.jar --dry-run
has been made to wrap individual args that have spaces with'
(single-tick quote), and a change injetty.sh
to separate the various args produced by the--dry-run
properly for the execution of java and eventually the call toXmlConfiguration
.A minor update to CustomRequestLog exception messages has been pushed here as well.
Signed-off-by: Joakim Erdfelt joakim.erdfelt@gmail.com