summaryrefslogtreecommitdiff
path: root/bin/jtb
diff options
context:
space:
mode:
authorSafey A.Halim <safey.allah@gmail.com>2010-10-21 21:45:23 +0000
committerSafey A.Halim <safey.allah@gmail.com>2010-10-21 21:45:23 +0000
commit58d9e7da240d42030d5a14a27e74af118d6bc005 (patch)
treeb98b8e6af5aad50dc2fdb28758173b5550550aba /bin/jtb
parentacf50d18f73743b70b83635c43840b063e9c2982 (diff)
Checkin for Seaspider and Parser generator script.
Diffstat (limited to 'bin/jtb')
-rwxr-xr-xbin/jtb6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/jtb b/bin/jtb
index baa6bf461..8f23675ce 100755
--- a/bin/jtb
+++ b/bin/jtb
@@ -1,4 +1,8 @@
#!/bin/sh
+
MYDIR=`dirname $0`
JTB_JAR=`echo ${MYDIR}/../contrib/jtb.jar`
-java -jar $JTB_JAR "$@"
+cd "$@"
+mkdir -p org/gnunet/seaspider/parser
+cd org/gnunet/seaspider/parser
+java -jar $JTB_JAR -printer -jd -np org.gnunet.seaspider.parser.nodes -vp org.gnunet.seaspider.parser.visitors -o C.out.jj "$@/C.jj" \ No newline at end of file