<target name="js.minify.bulk"> <apply executable="java" parallel="false"> <fileset dir="." includes="foo.js, bar.js" /> <arg line="-jar" /> <arg path="yuicompressor.jar" /> <mapper type="glob" from="*.js" to="*-min.js" /> </apply> </target>
Gives the error:: no dest attribute specified I would like to replace every **/*.js file with a minified version as **/*.js, and not *-min.js. Could you please guide me to write the ant file?