What is the minimal conventional directory structure for a Java web app? What do I need to put in a `build.xml` file to get ant to build it and make a WAR file?

My goal is to deploy a Wicket app to Tomcat without using an IDE. I want to do it with only ant and my favourite text editor.