Printf in groovy

This shows you how to use the printf function in groovy to print a tic tac toe field like this:

   | x | o
---+---+---
   | x |
---+---+---
 o |   |

in stdout

(more…)

HelloWorld with AntBuilder

This shows you how print “HelloWorld” with the groovy AntBuilder.
(more…)