Put ant-salesforce.jar in the class path of the build.xml file.