Kim wrote:

> Hi! It's me again.
> I've managed to create the .war file. Now I have another problem. I believe
> it's with configuring the build.xml file. My .war file only contains the web
> files (i.e. the files directly in my ${deploy.home}dir), not files in the
> subdirectories (web-inf for example) recursively.
>
> My dist target in the build.xml file is as follows:
>
>   <target name="dist" depends="prepare,compile" init="init">
>     <jar jarfile="${dist.home}/${dist.src}"
>          basedir="." includes="*"/>
>     <jar jarfile="${dist.home}/${dist.war}"
>          basedir="${deploy.home}" includes="*"/>

Use includes="**" instead of includes="*" to tell Ant to recursively descend the
directory tree when creating JAR files.

All of the tasks supported by Ant are documented in the Ant User's Manual, which is
in the "docs" directory of your Ant release.

>
>   </target>
>
> What is wrong?
>
> kim
>

Craig McClanahan

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to