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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to