Return to Snippet

Revision: 25622
at April 3, 2010 04:49 by tuhlmann


Initial Code
#!/bin/sh
L=`dirname $0`/../lib
cp=`echo $L/*.jar|sed 's/ /:/g'`
exec scala -classpath $cp $0 [email protected]
!#
import com.my.special.World
val world = new World
world.hello

Initial URL


Initial Description


Initial Title
How a Scala script can specify what JARs should be added to its CLASSPATH

Initial Tags


Initial Language
Scala