pessoal… estou tentando gerar um .war pro tomcat usando o ant… olhem o codigo
<jar jarfile="web/esportes.war">
<fileset dir="${build.dir}">
<include name="com/carloseduardo/*.class"/>
</fileset>
</jar>
da essa msg
[jar] error while reading original manifest: error in opening zip file
bombbr
#2
Não sei o que é não…
Porém para criar WARs eu utilizo as tags abaixo.
Tente desta forma.
<war destfile="aplicacao.war" webxml="../public_html/WEB-INF/web.xml">
<classes dir="../classes"/>
<fileset dir="../public_html" excludes="**/WEB-INF/lib/,**/web.xml,**/*.jar"/>
</war>
bombbr
#4
Aqui tem todas a tasks, disponíveis no ANT 1.7.0…
http://ant.apache.org/manual/
Falow!