Revert "make ant files independent with their locations"

This reverts commit 1b6ec1d90ec24f534832c71bf652385f7daf028e.