Gostaria de saber porque quando gero meu .war com o ant, as classes ficam duplicadas?
alguém pode me ajudar?
<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="helpdesk" basedir="." default="build">
<property name="src.dir" value="." />
<property name="build.dir" value="f:/Projetos/build" />
<target name="clean" description="Exclui todos os arquivos gerados">
<delete dir="${build.dir}/helpdesk"/>
</target>
<target name="build" depends="clean" description="Cria o arquivo de build">
<mkdir dir="${build.dir}/helpdesk" />
<defaultexcludes add="**/html" />
<defaultexcludes add="**/html/**" />
<defaultexcludes add="**/src" />
<defaultexcludes add="**/src/**" />
<defaultexcludes add="**/_fireworks" />
<defaultexcludes add="**/_fireworks/**" />
<defaultexcludes add="**/work" />
<defaultexcludes add="**/work/**" />
<defaultexcludes add="**/.externalToolBuilders" />
<defaultexcludes add="**/.externalToolBuilders/**" />
<defaultexcludes add="**/.settings" />
<defaultexcludes add="**/.settings/**" />
<war destfile="${build.dir}/helpdesk/helpdesk.war" webxml="WEB-INF/web.xml">
<classes dir="WEB-INF/classes" description="Pasta onde estao as classes" />
<lib dir="WEB-INF/lib" description="Pasta onde estao as bibliotecas" />
<fileset dir="${src.dir}" casesensitive="yes">
<exclude name="**/*web.xml" />
<exclude name=".classpath" />
<exclude name=".project" />
<exclude name=".tomcatplugin" />
</fileset>
</war>
</target>
</project>