Are the only possible values of SF.SERVERURL in an SF ANT scenario either "login.salesforce.com" or "test.salesforce.com" ?
How do you deploy to a production org if "my domain" is used and logins from "login.salesforce.com" are prevented?
I've tried several ways of specifying the "mydomain" address in the SERVERURL field and keep getting the message:
Error: {http://soap.sforce.com/2006/04/metadata}INVALID_SESSION_ID - INVALID_SES SION_ID: Invalid Session ID found in SessionHeader: Illegal Session
My ANT setup worked fine deploying to production until we were forced to disable logins from login.salesforce.com by the way - both deploys and retrievals are now broken....