Review request: 8003562: Provide a command-line tool to find static dependencies (original) (raw)

Ulf Zibis Ulf.Zibis at CoSoCo.de
Fri Dec 14 10:47:45 UTC 2012


Am 14.12.2012 03:15, schrieb Mandy Chung:

JDepsTask:111 Did you mean --summary? Yes will fix it.

Why don't you remain consistent to all other existing java tools? E.g. javac uses: -cp path or -classpath path Double hyphen '--' is never used until today.

So better: -P -profile Show profile or the file containing a package -R -recursive Traverse all dependencies recursively

Anyway, if you prefer to stick at '--', then you should consistently use it for '--version', '--classpath', '--all'

-Ulf

-version Version information -classpath Specify where to find class files -summary Print dependency summary only -v:class Print class-level dependencies -v:package Print package-level dependencies -p Restrict analysis to classes in this package (may be given multiple times) -e Restrict analysis to packages matching pattern (-p and -e are exclusive) -P --profile Show profile or the file containing a package -R --recursive Traverse all dependencies recursively -all Process all classes specified in -classpath



More information about the core-libs-dev mailing list