Ant imports & taskdefs - failed to create task or type junit

Thanks for the reply, Luke. I’ve been meaning to get this sample into a github repo for easy troubleshooting but in the mean time, here’s what my ant target looks like. In a nutshell, I’m just trying to call a target that runs some unit tests via junit.

Any info you can provide would be appreciated.

<target name="smoke" description="smoke testing JUnit">
       <junit forkmode="perBatch" printsummary="on" haltonfailure="off" haltonerror="off">
    <jvmarg value="-XX:MaxPermSize=256M" />
    <jvmarg value="-Xmx2048M" />
      <batchtest fork="yes" todir="/tmp">
              <fileset dir='/Users/objectiveous/IdeaProjects/zuora/Zuora-webapp/test/classes'>
     <include name="**/SmokeTestSuite.class" />
           </fileset>
    </batchtest>
  </junit>
</target>