<mkdir dir="/war"/>
<copy todir="/war">
<fileset dir="/WEB-INF/classes"/>
</copy>
<copy todir="/war/WEB-INF/classes/">
<fileset dir="/WEB-INF/classes" includes="**/*.class"/>
</copy>
<copy todir="/war/WEB-INF/">
<fileset dir="${xml}" excludes="**/application.xml"/>
</copy>
<copy todir="/war/WEB-INF/lib">
<fileset dir="web/lib"/>
</copy>
<war warfile="/war/${war}.war" webxml="/WEB-INF/web.xml">
<fileset dir="/war" excludes="**/web/,**/ejb/"/>
</war>
</target>
-----Original Message-----
From: RITA FERNANDES [mailto:[EMAIL PROTECTED]
Sent: quinta-feira, 11 de novembro de 2004 11:06
To: [EMAIL PROTECTED]
Subject: [JUG-Petro] task war do antEstou gerando o war, ele me gera o arquivo nome.war, sendo que quando vou abrir ele no zip, somente mostra o arquivo manisfest, o war ta com o tamanho 6.780 kb, qndo coloco dentro do tomcat ele s� unzip no work, no diretorio apps ele nao cria, eu unzipei o arquivo.. todo que eu quero ta dentro do war .. mas parece q ele nao esta gerando direito o war. Alguem ja passou por esse problema ?
Tem uma solucao melhor ?
<target name="war" depends="compile" description="gerar war">
<war destfile="${prj.ant.temp}\silab.war" webxml="${web.xml}\web.xml">
<lib dir="${prj.ant.libs}" />
<classes dir="${prj.ant.classes}" />
<zipfileset dir="${prj.ant.properties}" prefix="WEB-INF/wstools/properties"/>
</war>
</target>__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Yahoo! Groups Sponsor
ADVERTISEMENT
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/jug-petropolis/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
**********************************************************************
Informa��o transmitida destina-se apenas � pessoa a quem foi endere�ada e pode conter informa��o confidencial, legalmente protegida e para conhecimento exclusivo do destinat�rio. Se o leitor desta advert�ncia n�o for o seu destinat�rio, fica ciente de que sua leitura, divulga��o ou c�pia � estritamente proibida. Caso a mensagem tenha sido recebida por engano, favor comunicar ao remetente e apagar o texto de qualquer computador.
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information, by person or entity other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
**********************************************************************
