Allow ant tasks to work with v2 and v3 service.