Skip to content

Commit

Permalink
Run java directly to make the build faster
Browse files Browse the repository at this point in the history
  • Loading branch information
muffato committed Dec 11, 2016
1 parent c5246cb commit c78ee4b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions wrappers/java/wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,13 @@ elif [ "$action" == "compile" ]; then
echo "compiling"
exec ant "-Dorg.ensembl.hive.module=$module" compile_wrapper
elif [ "$action" == "run" ]; then
CLASSPATH=$PWD/build:$CLASSPATH
if [[ -z "$module" || -z "$fd_in" || -z "$fd_out" || -z "$debug" ]]; then
echo "Syntax error"
echo "$usage"
exit 1
fi
echo "Running '$module $fd_in $fd_out' in $PWD"
#java -cp "lib/*" org.ensembl.hive.Wrapper "$module" "$fd_in" "$fd_out" "$debug"
ant -Dorg.ensembl.hive.module=$module -Dorg.ensembl.hive.pipe_in=$fd_in -Dorg.ensembl.hive.pipe_out=$fd_out -Dorg.ensembl.hive.debug=$debug run_wrapper
exec java -cp "lib/*" org.ensembl.hive.RunWrapper "$module" "$fd_in" "$fd_out" "$debug"
else
echo "Command-line error: No mode provided"
echo "$usage"
Expand Down

0 comments on commit c78ee4b

Please sign in to comment.