view src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources/ @ 3294:9adfb22ff08f

8142968: Module System implementation Summary: Initial integration of JEP 200, JEP 260, JEP 261, and JEP 282 Reviewed-by: jjg, jlahoda, vromero, mcimadamore, bpatel, ksrini, darcy, anazarov, dfuchs Contributed-by:,,,,,,,,,,,,,
author alanb
date Thu, 17 Mar 2016 19:04:28 +0000
parents 08092deced3f
children 878e51dad07c
line wrap: on
line source
Usage: {0} <options> [-m <module-name> | <classes...>]\n\
use -h, -? or -help for a list of possible options

Usage: {0} <options> [-m <module-name> | <classes...>]\n\
If -m <module-name> is specified, the specified module will be analyzed\n\
otherwise, <classes> can be a pathname to a .class file, a directory,\n\
a JAR file, or a fully-qualified class name.\n\
Possible options include:


\  -h -?        -help                   Print this usage message

\  -version                             Version information

\  -v           -verbose                Print all class level dependencies\n\
\                                       Equivalent to -verbose:class -filter:none.\n\
\  -verbose:package                     Print package-level dependencies excluding\n\
\                                       dependencies within the same package by default\n\
\  -verbose:class                       Print class-level dependencies excluding\n\
\                                       dependencies within the same package by default

\  -f <regex>  -filter <regex>          Filter dependences matching the given pattern\n\
\                                       If given multiple times, the last one will be used.\n\
\  -filter:package                      Filter dependences within the same package (default)\n\
\  -filter:module                       Filter dependences within the same module\n\
\  -filter:archive                      Filter dependences within the same archive\n\
\  -filter:none                         No -filter:package and -filter:archive filtering\n\
\                                       Filtering specified via the -filter option still applies.

\  -s           -summary                Print dependency summary only.\n\
\                                       If -s option is used with -m, the module descriptor of\n\
\                                       the given module will be read to generate the graph.

\  -p <pkgname>                         Finds dependences matching the given package name\n\
\  -package <pkgname>                   (may be given multiple times).

\  -e <regex>\n\
\  -regex <regex>                       Finds dependences matching the given pattern.

\  -module <module-name>                Finds dependences matching the given module name\n\
\                                       (may be given multiple times).\n\
\                                       -package, -regex, -requires are mutual exclusive.

\  -include <regex>                     Restrict analysis to classes matching pattern\n\
\                                       This option filters the list of classes to\n\
\                                       be analyzed.  It can be used together with\n\
\                                       -p and -e which apply pattern to the dependences

\  -P           -profile                Show profile containing a package

\  -M                                   Show module containing a package

\  -cp <path>   -classpath <path>       Specify where to find class files\
\  -mp <module path>...\n\
\  -modulepath <module path>...         Specify module path

\  -upgrademodulepath <module path>...  Specify upgrade module path

\  -m <module-name>                     Specify the name of the module and its transitive\n\
\                                       dependences to be analyzed.

\  -R           -recursive              Recursively traverse all run-time dependencies.\n\
\                                       The -R option implies -filter:none.  If -p, -e, -f\n\
\                                       option is specified, only the matching dependences\n\
\                                       are analyzed.

\  -ct          -compile-time           Compile-time view of transitive dependencies\n\
\                                       i.e. compile-time view of -R option.  If a dependence\n\
\                                       is found from a directory, a JAR file or a module,\n\
\                                       all class files in that containing archive are analyzed.

\  -apionly                             Restrict analysis to APIs i.e. dependences\n\
\                                       from the signature of public and protected\n\
\                                       members of public classes including field\n\
\                                       type, method parameter types, returned type,\n\
\                                       checked exception types etc

\  -genmoduleinfo <dir>                 Generate under the specified directory.\n\
\                                       The specified JAR files will be analyzed.\n\
\                                       This option cannot be used with -dotoutput or -cp.

\  -check                               Analyze the dependence of a given module specified via\n\
\                                       -m option.  It prints out the resulting module dependency\n\
\                                       graph after transition reduction and also identifies any\n\
\                                       unused qualified exports.

\  -dotoutput <dir>                     Destination directory for DOT file output

\  -jdkinternals                        Finds class-level dependences on JDK internal APIs.\n\
\                                       By default, it analyzes all classes on -classpath\n\
\                                       and input files unless -include option is specified.\n\
\                                       This option cannot be used with -p, -e and -s options.\n\
\                                       WARNING: JDK internal APIs may not be accessible in\n\
\                                       the next release.

\  -depth=<depth>                       Specify the depth of the transitive\n\
\                                       dependency analysis

\  -q           -quiet                  Do not show missing dependencies from -genmoduleinfo output.

err.unknown.option=unknown option: {0}
err.missing.arg=no value given for {0}
err.invalid.arg.for.option=invalid argument for option: {0}
err.option.after.class=option must be specified before classes: {0}
err.genmoduleinfo.not.jarfile={0} not valid for -genmoduleinfo option (must be JAR file)
err.profiles.msg=No profile information
err.invalid.path=invalid path: {0}
err.invalid.module.option=-m {0} is set but {1} is specified.
err.invalid.filters=Only one of -package (-p), -regex (-e), -requires option can be set
err.module.not.found=module not found: {0}
err.root.module.not.set=-m is not set
warn.invalid.arg=Invalid classname or pathname not exist: {0}
warn.split.package=package {0} defined in {1} {2}
JDK internal APIs are unsupported and private to JDK implementation that are\n\
subject to be removed or changed incompatibly and could break your application.\n\
Please modify your code to eliminate dependency on any JDK internal APIs.\n\
For the most recent update on JDK internal API replacements, please check:\n\

artifact.not.found=not found