public static void main(String[] args) throws Exception
{
Configuration cfg=new ConfigurationParser().parse(
"example/"+Constants.DEFAULT_CONFIG_FILE);
Executor executor=new DefaultExecutor(cfg);
ConvertableObjectSource os = new HashMapObjectSource();
os.set("helloTo", "mars");
os.set("helloRepeat", 3);
printDiv();
executor.execute("helloActionXml", os);
printDiv();
executor.execute("helloActionStatement", os);
printDiv();
executor.execute("testJavaSyntax", os);
printDiv();
executor.execute("testAfterBefore", os);
printDiv();
executor.execute("testException", os);
}