I need an Ant script that will copy one folder to several other places. As a good obedient programmer, I want not to repeat myself. Is there any way of taking a fileset like
Rich's answer is probably better for your specific problem, but the generic way of reusing code in Ant is a .