Created
June 27, 2011 01:46
-
-
Save c00kiemon5ter/1048185 to your computer and use it in GitHub Desktop.
compile java sources
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p build/classes/ | |
echo "--> compiling sources.." | |
javac -sourcepath src/ -classpath build/classes/ \ | |
-classpath lib/jpcap.jar \ | |
-d build/classes/ \ | |
src/foo/*.java \ | |
src/foo/*.java \ | |
src/bar/*.java \ | |
src/*.java | |
echo "--> building jar" | |
jar -vcfe foo.jar foo/Main -C build/classes/ . | |
echo "--> all done. running.." | |
java -jar foo.jar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment