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

Distro argument --list-all-modules does not work #5679

Closed
janbartel opened this issue Nov 17, 2020 · 2 comments · Fixed by #5683
Closed

Distro argument --list-all-modules does not work #5679

janbartel opened this issue Nov 17, 2020 · 2 comments · Fixed by #5683
Assignees

Comments

@janbartel
Copy link
Contributor

jetty-10.0.x

[938] java -jar ../jetty-home/start.jar --list-all-modules

Modules [*]:

java.lang.UnsupportedOperationException
at java.base/java.util.Collections$1.remove(Collections.java:4712)
at java.base/java.util.AbstractCollection.remove(AbstractCollection.java:299)
at org.eclipse.jetty.start.Modules.listModules(Modules.java:173)
at org.eclipse.jetty.start.Main.listModules(Main.java:268)
at org.eclipse.jetty.start.Main.start(Main.java:408)
at org.eclipse.jetty.start.Main.main(Main.java:78)

Usage: java -jar $JETTY_HOME/start.jar [options] [properties] [configs]
java -jar $JETTY_HOME/start.jar --help # for more information

@joakime
Copy link
Contributor

joakime commented Nov 17, 2020

were you in a jetty.base when you ran that?
I cannot replicate with jetty-10.0.x head.

gregw added a commit that referenced this issue Nov 17, 2020
+ Updated usage to show that --list-config lists the enabled Modules
+ fixed unsupported operation in --list-all-modules
+ list enabled modules with default --list-module
@gregw
Copy link
Contributor

gregw commented Nov 17, 2020

I replicated this in a fresh base with http and deploy enabled

gregw added a commit that referenced this issue Nov 17, 2020
+ Updated usage to show that --list-config lists the enabled Modules
+ fixed unsupported operation in --list-all-modules
+ list enabled modules with default --list-module
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

Successfully merging a pull request may close this issue.

3 participants