I have a small
Applet project that imports three
java files from a large open source library with few hundred classes, which I link to the complete source and compile in my Eclipse project.
My problem is, instead of just the few classes I use, this entire library is compiled and stuffed along with my Applet .class into a large .jar file.
I suppose I can manually determine the subset of classes from the large library that my applet uses, and link these external sources only in my project.
But that is very cumbersome. Is there a better way?
The way I am doing things in Eclipse, I link to complete external library as source, and create the .jar using the export feature.
Also interested in knowing if the scenario I encounter is standard in Java or Eclipse?
Thanks