Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 19 lines (13 sloc) 438 Bytes
#!/bin/bash
libraryPath='./Library'
classPath=''
for fileName in $(ls $libraryPath); do
if [ ${fileName:(-4)} = ".jar" ]; then
if [ "$classPath" != "" ]; then
classPath=$classPath':'
fi
classPath=${classPath}${libraryPath}'/'${fileName}
fi
done
classPath='./Build:'$classPath
java -cp $classPath -Djava.library.path=$libraryPath org.junit.runner.JUnitCore edu.csun.ecs.cs.multitouchj.test.$@