annotate java-genomics-toolkit/toolRunner.sh @ 0:1daf3026d231

Upload alpha version
author timpalpant
date Mon, 13 Feb 2012 21:55:55 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
1daf3026d231 Upload alpha version
timpalpant
parents:
diff changeset
1 #!/usr/bin/env bash
1daf3026d231 Upload alpha version
timpalpant
parents:
diff changeset
2
1daf3026d231 Upload alpha version
timpalpant
parents:
diff changeset
3 if [ $# -eq 0 ]
1daf3026d231 Upload alpha version
timpalpant
parents:
diff changeset
4 then
1daf3026d231 Upload alpha version
timpalpant
parents:
diff changeset
5 echo "USAGE: toolRunner.sh APPNAME [ARGS]";
1daf3026d231 Upload alpha version
timpalpant
parents:
diff changeset
6 exit;
1daf3026d231 Upload alpha version
timpalpant
parents:
diff changeset
7 fi
1daf3026d231 Upload alpha version
timpalpant
parents:
diff changeset
8
1daf3026d231 Upload alpha version
timpalpant
parents:
diff changeset
9 if [ "$1" = "list" ]
1daf3026d231 Upload alpha version
timpalpant
parents:
diff changeset
10 then
1daf3026d231 Upload alpha version
timpalpant
parents:
diff changeset
11 find src/edu/unc/genomics/**/*.java -exec basename -s .java {} \;
1daf3026d231 Upload alpha version
timpalpant
parents:
diff changeset
12 fi
1daf3026d231 Upload alpha version
timpalpant
parents:
diff changeset
13
1daf3026d231 Upload alpha version
timpalpant
parents:
diff changeset
14 java -Dlog4j.configuration=log4j.properties -cp .:build:lib/* edu.unc.genomics."$@"