ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knuplesch, Juergen" <Juergen.Knuple...@icongmbh.de>
Subject Rename a dir
Date Thu, 25 Mar 2010 17:15:11 GMT
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

-- 
Jürgen Knuplesch

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


Mime
View raw message