So I set up a new project into Eclipse and created a build.xml that creates a war file. The problem that I am having is that the only files that are included in the war are what’s in the WEB-INF. How do you include my web folder into the war?
- Project
- src
- web
- WEB-INF
(edited for correctness and clarity)
Assuming Project Setup as follows:
Here’s a quick ant script to war it up:
See the Ant user manual for the
wartask for more information.