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 dependencies? 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).