How to compile runnable jar from packages?
- by sacamano
Hey.
My java application has got a package structure similar to this;
src/com/name/app , src/com/name/app/do , src/com/name/utils/db and so on.
How would I go about compiling java files in these directories in to a runnable jar? I need to package required libraries into the generated JAR (jdbc).
I've always done these things in Eclipse but now I need to supply a couple of people with a way to compile the repository without the use of eclipse and I was thinking of making a makefile or a script that invokes the necessary javac pattern.
Any help is greatly appreciated.