ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy Lambert <anto...@gmx.de>
Subject Re: Rename a dir
Date Thu, 25 Mar 2010 17:58:21 GMT
try using the todir attribute instead of tofile. I am not sure what the 
end result will be but this might be faster.

Regards,

Antoine

Knuplesch, Juergen wrote:
> Hello,
>
> I want to rename a dir and used the following:
>       <property name="dirbase2.new" location="${dirbase2}BUILDFAILED"/>
>       <move  file="${dirbase2}" tofile="${dirbase2.new}" />
>
> But this moved all the files inside dirbase2 to dirbase2.new:
>      [echo] finally message
>      [move] Moving 14406 files to ...
>
> I just want to rename the dirname!
>
> I use ANT with Windows XP and this is a network path.
>
> Is a way to do this in ANT?
>
> Greetings J├╝rgen
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message