Heya Prasad,

You can use the move task:

        <?xml version="1.0"?>
        <project name="TestMove" default="rename">
                <target name="rename">
                        <move file="oldfilename.txt" tofile="newfilename.txt" />
                </target>
        </project>

Documentation for move can be found here:

  http://nant.sourceforge.net/release/latest/help/tasks/move.html

Cheers,
Matt

On 9/19/05, nbl prasad <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I did not find any rename tasks in NAnt. I am
> wondering if someone has been in similar situation and
> have some solution.
> 
> Question: How to Rename a DLL using NANT.
> 
> Thanks and Regards
> Prasad
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server.
> Download it for free - -and be entered to win a 42" plasma tv or your very
> own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
> _______________________________________________
> Nant-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nant-users
>


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Nant-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to