@@ -0,0 +1,770 @@
+package com.dm.awstasks.ec2.ant;%0A%0Aimport static org.junit.Assert.*;%0A%0Aimport java.io.BufferedReader;%0Aimport java.io.InputStreamReader;%0A%0Aimport org.junit.Test;%0A%0Apublic class AntFileExecutionTest %7B%0A%0A    @Test%0A    public void execute_build_test_xml() throws Exception %7B%0A        String command = %22ant -f build.test.xml test-ec2%22;%0A        Process process = Runtime.getRuntime().exec(command);%0A        BufferedReader stdError = new BufferedReader(new InputStreamReader(process.getErrorStream()));%0A%0A        // you can inspect log.log for progress%0A        String line;%0A        while ((line = stdError.readLine()) != null) %7B%0A            System.out.println(line);%0A        %7D%0A%0A        int exitCode = process.waitFor();%0A        assertEquals(command + %22 failed%22, 0, exitCode);%0A    %7D%0A%7D%0A

add integration test for build.text.xml