With following structure, how can I make Eclipse build the WAR file correctly?
I need following folders to go into following output folders:
mail/src
I suggest a small ant build script. Ant is already integrated in eclipse, just drop a build.xml file in the root directory and either build manually or add an Ant builder to the project.