thanks for the quick reply, now i tried the one below, still no luck, anything else that could be wrong?
<apply executable="cmd" dest="./${dir.publish}/${dir.images}/" osfamily="windows" addsourcefile="false"> <arg value="-c"/> <arg value="del"/> <fileset dir="./${dir.source}/${dir.images}/" includes="*.png"/> <targetfile/> <mapper type="identity"/> </apply> On Fri, May 13, 2011 at 3:30 AM, Dominique Devienne <ddevie...@gmail.com>wrote: > On Thu, May 12, 2011 at 2:17 PM, shi chuan <shichu...@gmail.com> wrote: > > <arg value="-c del"/> > > That's a single <arg> of name "-c del", not two args "-c" and "del". > > Use either line="-c del" or two <arg value>. --DD > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@ant.apache.org > For additional commands, e-mail: user-h...@ant.apache.org > >