I am creating an ant script and I am wondering what should be the name of the directory in which I pack the whole kaboodle and make it a .war file and put it in the webapps directory.
Should it be dist or build?
dist.
build is for .class files only, while dist will include the WEB-INF, META-INF, etc. libraries.
Create and delete files created during the build process. But dist contains the ones you really want to keep at the end.
The assembly directory is the files into which the files are compiled. The Dist directory is used for distribution files (the location of the resulting application package).
In your case, this is the dist directory.