Created
February 27, 2010 22:52
-
-
Save apk/317032 to your computer and use it in GitHub Desktop.
Running scala with java libs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
exec scala -cp jlibs/commons-logging-1.1.1.jar:jlibs/jas.jar:jlibs/jux.jar "$0" "$@" | |
!# | |
import org.iocl.as._ | |
var conn = new AsConnection("tep:7008/172.27.110.41:8234") | |
println("Res: " + conn.exec("get-history")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment