How do I extract a single class plus all its dependencies from a library?
I got a big Java library but only need a small portion of it. How would I extract the main class and all of its dependen开发者_如何转开发cies? An automated solution would be preferred, but I can also live with something that generates a list of files I need to extract (I don't want to write that something myself ;-)).
This is similar to Tool or plugin to extract class and all of its dependencies from VS project - I just need it for Java (IDE in use is Eclipse).
There is a tool called autojar. It works.
精彩评论