Up until now, I've added pages and files to our intranet environment by simply using ftp to copy the new files. We do not update our application using a war file. I have to copy the various javascripts, css files, jsps, beans,
java classes, and
servlets to the correct locations and modify the web.xml file manually. This has become cumbersome, and as we need a way to move some of these web pages to other locations, impractical.
Can an
Ant script do this for me? Can I integrate it within Netbeans? One build.xml won't work for me; I need multiple Ant scripts that will deploy various subsets of our web application. One script may only need to copy 3 files, another may need to copy 20 and add a half dozen servlets to the web.xml.
I wrote an Ant script once about six years ago, so I'm more or less starting from scratch on this. If Ant is not the right tool for the job, what is? Python or perl scripts or something else?