VERSION=1.5
JAR_PATH=commons-compress-${VERSION}/commons-compress-${VERSION}.jar
URL=http://www.us.apache.org/dist/commons/compress/binaries/commons-compress-${VERSION}-bin.tar.gz

if `ruby -v | grep -q jruby`; then
  mkdir java > /dev/null 2>&1
  curl $URL | tar -xz -C java $JAR_PATH
  export CLASSPATH=java/${JAR_PATH}
fi

VERSION=1.13
JAR_PATH=commons-compress-${VERSION}/commons-compress-${VERSION}.jar
URL=http://www.us.apache.org/dist/commons/compress/binaries/commons-compress-${VERSION}-bin.tar.gz

if `ruby -v | grep -q jruby`; then
  mkdir java > /dev/null 2>&1
  curl $URL | tar -xz -C java $JAR_PATH
  export CLASSPATH=java/${JAR_PATH}
fi

Use Commons Compress 1.13 for tests
Use Commons Compress 1.13 for tests
