home | career | drupal | java | mac | mysql | perl | scala | uml | unix

Groovy example source code file (EvalInScript.groovy)

This example Groovy source code file (EvalInScript.groovy) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Groovy tags/keywords

about, about, done, done, file, file, io

The Groovy EvalInScript.groovy source code

import java.io.File

a = 1
evaluate("a = 3")
assert a == 3

println("Done and now set a to ${a}")

println("About to call another script")

evaluate(new File("src/test/groovy/script/HelloWorld.groovy"))


Other Groovy examples (source code examples)

Here is a short list of links related to this Groovy EvalInScript.groovy source code file:

new blog posts


Copyright 1998-2014 Alvin Alexander, alvinalexander.com
All Rights Reserved.