Hi.
The following (ZAP) jars must be on the classpath when defining the
tasks and to run them:
- zap-api-1.0.0.jar
- zap-clientapi-ant-1.0.0.jar
For example, if both jars are in a "zap-lib" dir (placed in the same dir
as the Ant build file) you could define the tasks with:
<path id="zap.classpath">
<fileset dir="zap-lib" includes="*.jar" />
</path>
<taskdef name="accessUrlTask"
classname="org.zaproxy.clientapi.ant.AccessUrlTask"
classpathref="zap.classpath" />
<taskdef name="activeScanUrlTask"
classname="org.zaproxy.clientapi.ant.ActiveScanUrlTask"
classpathref="zap.classpath" />
Best regards.