Review request: 8003562: Provide a command-line tool to find static dependencies (original) (raw)
Mandy Chung mandy.chung at oracle.com
Tue Dec 18 23:12:39 UTC 2012
- Previous message: Review request: 8003562: Provide a command-line tool to find static dependencies
- Next message: Review request: 8003562: Provide a command-line tool to find static dependencies
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Alan, Ulf,
I updated the jdeps CLI per the discussion we had.
$ jdeps --help
Usage: jdeps <classes...>
where can be a pathname to a .class file, a directory, a JAR file,
or a fully-qualified classname or wildcard "*". Possible options include:
-s --summary Print dependency summary only
-v --verbose Print additional information
-V --verbose-level= Print package-level or
class-level dependencies
Valid levels are: "package" and
"class"
-c
Updated webrev: http://cr.openjdk.java.net/~mchung/jdk8/webrevs/jdeps/webrev.06/
jdeps only support GNU-style options. I added java.util.function and com.sun.source.doctree in the jdk.properties. I'll replace it to use the proper javac API to work with profiles next. I caught a typo 'com.sunsource.doctree' (missing dot) in NON_CORE_PKGS.gmk and I fix that in this patch.
We can enhance the tool after the initial push. I'd like to get it in jdk8 soon so that developers can try it out and give feedback.
Thanks Mandy
- Previous message: Review request: 8003562: Provide a command-line tool to find static dependencies
- Next message: Review request: 8003562: Provide a command-line tool to find static dependencies
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]