Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x

This commit is contained in:
Jan Bartel 2020-11-18 10:55:12 +01:00
commit 1d3e190e53
5 changed files with 11 additions and 5 deletions

View File

@ -177,7 +177,6 @@ public class TestOSGiUtil
.start()); .start());
res.add(mavenBundle().groupId("org.eclipse.jetty").artifactId("jetty-slf4j-impl").versionAsInProject().start()); res.add(mavenBundle().groupId("org.eclipse.jetty").artifactId("jetty-slf4j-impl").versionAsInProject().start());
res.add(mavenBundle().groupId("org.eclipse.jetty").artifactId("jetty-util").versionAsInProject().start()); res.add(mavenBundle().groupId("org.eclipse.jetty").artifactId("jetty-util").versionAsInProject().start());
res.add(mavenBundle().groupId("org.eclipse.jetty").artifactId("jetty-util-ajax").versionAsInProject().start());
res.add(mavenBundle().groupId("org.eclipse.jetty").artifactId("jetty-deploy").versionAsInProject().start()); res.add(mavenBundle().groupId("org.eclipse.jetty").artifactId("jetty-deploy").versionAsInProject().start());
res.add(mavenBundle().groupId("org.eclipse.jetty").artifactId("jetty-server").versionAsInProject().start()); res.add(mavenBundle().groupId("org.eclipse.jetty").artifactId("jetty-server").versionAsInProject().start());
res.add(mavenBundle().groupId("org.eclipse.jetty").artifactId("jetty-servlet").versionAsInProject().start()); res.add(mavenBundle().groupId("org.eclipse.jetty").artifactId("jetty-servlet").versionAsInProject().start());

View File

@ -266,6 +266,10 @@ public class Main
System.out.printf("%nModules %s:%n", t); System.out.printf("%nModules %s:%n", t);
System.out.printf("=========%s%n", "=".repeat(t.length())); System.out.printf("=========%s%n", "=".repeat(t.length()));
args.getAllModules().listModules(tags); args.getAllModules().listModules(tags);
// for default module listings, also show enabled modules
if ("[-internal]".equals(t) || "[*]".equals(t))
args.getAllModules().listEnabled();
} }
public void showModules(StartArgs args) public void showModules(StartArgs args)

View File

@ -167,6 +167,8 @@ public class Modules implements Iterable<Module>
if (tags.contains("-*")) if (tags.contains("-*"))
return; return;
tags = new ArrayList<>(tags);
boolean wild = tags.contains("*"); boolean wild = tags.contains("*");
Set<String> included = new HashSet<>(); Set<String> included = new HashSet<>();
if (wild) if (wild)

View File

@ -347,8 +347,6 @@ public class StartArgs
} }
System.out.println(); System.out.println();
} }
System.out.println();
} }
public void dumpJvmArgs() public void dumpJvmArgs()

View File

@ -19,12 +19,15 @@ Command Line Options:
--list-config List the resolved configuration that will be used to --list-config List the resolved configuration that will be used to
start Jetty. start Jetty.
Output includes: Output includes:
o Enabled jetty modules
o Java Environment o Java Environment
o Jetty Environment o Jetty Environment
o Config file search order
o JVM Arguments o JVM Arguments
o System Properties
o Properties o Properties
o Server Classpath o Java Classpath
o Server XML Configuration o XML Configuration files
--dry-run Print the command line that the start.jar generates, --dry-run Print the command line that the start.jar generates,
then exit. This may be used to generate command lines then exit. This may be used to generate command lines