Changing from ghetto shell script to Ant