#!/bin/bash
if [[ ! -f scala-2.10.5.tgz ]]; then
wget http://downloads.lightbend.com/scala/2.10.5/scala-2.10.5.tgz
fi
if [[ ! -d scala-2.10.5 ]]; then
tar -xf scala-2.10.5.tgz
fi
export hammercfg__cache__defaultCachePolicy="FORCE_NONE"
exec ./scala-2.10.5/bin/scala -cp 'conf/:lib/*' "$0" "$@"
!#
import scala.io.Source
val filename = "ids.csv"
val lines = Source.fromFile(filename).getLines()
If I remove the
*
from'conf/:lib/*'
it's works.