ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shi chuan <shichu...@gmail.com>
Subject Re: ant execute Windows del command
Date Thu, 12 May 2011 19:35:33 GMT
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 <ddevienne@gmail.com>wrote:

> On Thu, May 12, 2011 at 2:17 PM, shi chuan <shichuanr@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-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message