How to run a set of dependent groovy scripts without compilation?

How to run a set of dependent groovy scripts without compilation?


groovy -cp foo/ foo/MyScript.groovy [arguments]

#!/usr/bin/env groovy
println("Hello world")
for (a in this.args) {
  println("Argument: " + a)
}

Comments

Popular posts from this blog

How to build unlimited levels menu through PHP and MySQL

How to build a map of the frequency with which characters occur in a file in OCaml?

How to create timed pop-up windows using MVVM?