java program for ant