Skip to content

Instantly share code, notes, and snippets.

@apk
Created February 27, 2010 22:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save apk/317032 to your computer and use it in GitHub Desktop.
Save apk/317032 to your computer and use it in GitHub Desktop.
Running scala with java libs
#!/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