I have setup force.com migration tool with 40.0 version and java version "1.8.0_40" and Apache Ant(TM) version 1.9.4 compiled on April 29 2014 on my local machine. When i try to deploy the changes using the tool and specify the
testLevel="RunLocalTests" i am getting the error
BUILD FAILED /Documents/Projects/SalesforceMigrationTool/salesforce_ant_40.0/sample/build.xml:74: sf:deploy doesn't support the "testLevel" attribute.
I have specified version as 40.0 in my package.xml also, but still no luck. i did not understand what i am missing here.
Thanks! in advance.