Ad

Difference Of Purpose Of Build And Dist Directories When Doing A Deploy

I am creating an ant script and I am wondering what should be the name of the directory where I package up the whole kaboodle and make it a .war file and put it in the webapps directory.

Should it be dist or build?

Ad

Answer

dist.

build is for the .class files only, while dist will include the WEB-INF, META-INF, libraries, etc

Ad
source: stackoverflow.com
Ad