blob: 139715daf2d287b2dbffbc0d1afc7689f622a773 [file] [log] [blame]
/*
* Sample script to test wrapping of a groovy script
* Just loops forever and prints to file and console
*/
writer=new File("FileWrite.out").newWriter()
while (true)
{
println "hello world"
writer.writeLine("hello world")
writer.flush()
Thread.sleep(1000);
}