ant build refactored