I have an Android project which included a class with a file copy method. Out of interest I thought I'd extract this into a (non-android, just plain java) project of its own, as it's something that other projects could make use of.
I then thought I'd take a look at creating a jar from this new project, so other project could just have the jar in a 'lib' folder and reference it as a library, rather than me having to import the project in eclipse etc.
My question is, what should I be including in the jar file when I go through the jar export wizard in eclipse? It seems to work if I just include the *.class file but what if my project contained more than a single file, and had multiple packages etc. Would I need the .classpath and .project for example?
Thanks, Barry