This is how to create a war file for a webapp.
<war destfile="${webapps.dir}/ROOT.war" webxml="${webapps.dir}/ROOT/WEB-INF/web.xml">
<fileset dir="${webapps.dir}/ROOT" excludes="**/web.xml"/>
</war>
To Deploy to app servers, there are plugins available, as standard or addon to ANT, that can be used.
They are simple as
Tomcat, deploy war="ROOT.war" host="HOSTNAME".