<target name="webdoclet"
description="Generate web and Struts descriptors">
<taskdef name="webdoclet"
classname="xdoclet.modules.web.WebDocletTask">
<classpath>
<path refid="xdoclet.classpath"/>
<path refid="web.compile.classpath"/>
</classpath>
</taskdef>
<webdoclet destdir="${webapp.target}/WEB-INF"
force="${xdoclet.force}"
mergedir="metadata/web"
excludedtags="@version,@author"
verbose="true">
<fileset dir="src/web"/>
<deploymentdescriptor validatexml="true"
servletspec="2.3" sessiontimeout="60"
destdir="${build.dir}/web/WEB-INF"
distributable="false"
displayname="${ant.project.name}">
</deploymentdescriptor>
<strutsconfigxml validatexml="true" version="1.1"/>
<strutsvalidationxml/>
</webdoclet>
</target>