Hi all,
Great tool you have here...

I have a problem...

I'm trying to move all the files and dirs I have in one directory into another...
Let's say what is in dir
F:\03.Projects\Htc\Deploy\
should move to
F:\03.Projects\Htc\Trash\Deploy-20031105-1826

The current code I have has two problems for me...
1/ In deploy, the empty directories are still there
2/ All my files and dirs move to F:\03.Projects\Htc\Trash\Deploy-20031105-1826\Deploy
I don't want the trailing Deploy...

Isn't there a way to say simply: move what is in Deploy to that other dir ?
I can't find a way to do it...afterall, it's my very first try at nant...

Thanks in advance for your help,
John.


The code I try to use is:

    <target name="test" description="A test target to experiment stuff." >
                                <property name="trash-deploy-path" 
value="Trash/Deploy-${build.date}" />
                                <move todir="${trash-deploy-path}">
            <fileset basedir="Deploy">
                <includes name="**" />
            </fileset>
        </move>
        <delete dir="Deploy" failonerror="false" verbose="${project.verbose}" />
        <mkdir dir="Deploy" />
    </target>




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to