Hi,

Quick question ... Are you trying to just rename the dir or are you trying 
to 
rename a file and move it to a new dir?

If you are trying to do the first, try this instead:

        <move todir="new/dir">
                <fileset dir="olddir"/>
        </move>

I hope this helps ...












"Knuplesch, Juergen" <juergen.knuple...@icongmbh.de> 
10/07/2009 10:13 AM
Please respond to
"Ant Users List" <user@ant.apache.org>


To
"Ant Users List" <user@ant.apache.org>
cc

Subject
How to rename a dir?






Hello,

How do I simply rename a directory in ant?

When I use move it copies the directory also
<move file="${dope.target.dirbase2}" todir="${dope.target.dirbase2.new}" 
/>

I just want to rename the name of the directory!

Juergen

-- 
Jürgen Knuplesch

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


Reply via email to