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" <[email protected]> 
10/07/2009 10:13 AM
Please respond to
"Ant Users List" <[email protected]>


To
"Ant Users List" <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]


Reply via email to