Last change
on this file since 120 was
120,
checked in by (none), 14 years ago
|
Added the mail files for the Hadoop JUNit Project
|
-
Property svn:executable set to
*
|
File size:
629 bytes
|
Rev | Line | |
---|
[120] | 1 | #!/usr/bin/env bash |
---|
| 2 | |
---|
| 3 | export HADOOP_HOME=../../../../.. |
---|
| 4 | |
---|
| 5 | export CLASSPATH="$HADOOP_HOME/build/classes" |
---|
| 6 | export CLASSPATH=${CLASSPATH}:"$HADOOP_HOME/build/contrib/abacus/classes" |
---|
| 7 | |
---|
| 8 | # so that filenames w/ spaces are handled correctly in loops below |
---|
| 9 | IFS= |
---|
| 10 | |
---|
| 11 | # add libs to CLASSPATH |
---|
| 12 | for f in $HADOOP_HOME/lib/*.jar; do |
---|
| 13 | CLASSPATH=${CLASSPATH}:$f; |
---|
| 14 | done |
---|
| 15 | |
---|
| 16 | for f in $HADOOP_HOME/lib/jetty-ext/*.jar; do |
---|
| 17 | CLASSPATH=${CLASSPATH}:$f; |
---|
| 18 | done |
---|
| 19 | |
---|
| 20 | # restore ordinary behaviour |
---|
| 21 | unset IFS |
---|
| 22 | jythonc -p org.apache.hadoop.abacus.examples -d -j jwc.jar -c JythonAbacus.py JyAbacusWCPlugIN.py |
---|
| 23 | |
---|
| 24 | jar -uvf jwc.jar -C $HADOOP_HOME/build/contrib/abacus/classes . |
---|
| 25 | |
---|
Note: See
TracBrowser
for help on using the repository browser.