Hi,

while building on a friends PC, we got an error NAnt could
not delete a directory. We looked, but it *was* deleted
successfully. The user has admin rights. The directory is
located under the temp dir.

I've attached the log.

-sa

-- 
sa at programmers-world dot com
http://www.livingit.de
Bookmarks online: http://www.mobile-bookmarks.info
                  Soon available in english

A new supply of round tuits has arrived and are available from Mary.
Anyone who has been putting off work until they got a round tuit now
has no excuse for further procrastination.
NAnt version 0.8.3 Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///C:/Documents and 
Settings/molitor_t/Desktop/nant-0.8.3.50105/NAnt.build
     [echo] Using 'net-1.0' Framework

init:


debug:


build:

     [echo] Build Directory is C:\Documents and 
Settings\molitor_t\Desktop\nant-0.8.3.50105/build/nant-0.8.3.50105-debug
     [nant] src/NAnt.Core/NAnt.Core.build build

            Buildfile: file:///C:/Documents and 
Settings/molitor_t/Desktop/nant-0.8.3.50105/src/NAnt.Core/NAnt.Core.build
            
            build:
            
            Total time: 0 seconds.
            
            BUILD SUCCEEDED
            
     [nant] src/NAnt.Console/NAnt.Console.build build

            Buildfile: file:///C:/Documents and 
Settings/molitor_t/Desktop/nant-0.8.3.50105/src/NAnt.Console/NAnt.Console.build
            
            build:
            
            Total time: 0 seconds.
            
            BUILD SUCCEEDED
            
     [nant] src/NAnt.DotNet/NAnt.DotNet.build build

            Buildfile: file:///C:/Documents and 
Settings/molitor_t/Desktop/nant-0.8.3.50105/src/NAnt.DotNet/NAnt.DotNet.build
            
            build:
            
            Total time: 0 seconds.
            
            BUILD SUCCEEDED
            
     [nant] src/NAnt.Zip/NAnt.Zip.build build

            Buildfile: file:///C:/Documents and 
Settings/molitor_t/Desktop/nant-0.8.3.50105/src/NAnt.Zip/NAnt.Zip.build
            
            build:
            
            Total time: 0 seconds.
            
            BUILD SUCCEEDED
            
     [nant] src/NAnt.NUnit/NAnt.NUnit.build build

            Buildfile: file:///C:/Documents and 
Settings/molitor_t/Desktop/nant-0.8.3.50105/src/NAnt.NUnit/NAnt.NUnit.build
            
            build:
            
            Total time: 0 seconds.
            
            BUILD SUCCEEDED
            
     [nant] src/NAnt.SourceControl/NAnt.SourceControl.build build

            Buildfile: file:///C:/Documents and 
Settings/molitor_t/Desktop/nant-0.8.3.50105/src/NAnt.SourceControl/NAnt.SourceControl.build
            
            build:
            
            Total time: 0 seconds.
            
            BUILD SUCCEEDED
            
     [nant] src/NAnt.Win32/NAnt.Win32.build build

            Buildfile: file:///C:/Documents and 
Settings/molitor_t/Desktop/nant-0.8.3.50105/src/NAnt.Win32/NAnt.Win32.build
            
            build:
            
            Total time: 0 seconds.
            
            BUILD SUCCEEDED
            
     [nant] src/NAnt.VSNet/NAnt.VSNet.build build

            Buildfile: file:///C:/Documents and 
Settings/molitor_t/Desktop/nant-0.8.3.50105/src/NAnt.VSNet/NAnt.VSNet.build
            
            build:
            
            Total time: 0 seconds.
            
            BUILD SUCCEEDED
            
     [nant] src/NAnt.VisualCpp/NAnt.VisualCpp.build build

            Buildfile: file:///C:/Documents and 
Settings/molitor_t/Desktop/nant-0.8.3.50105/src/NAnt.VisualCpp/NAnt.VisualCpp.build
            
            build:
            
            Total time: 0 seconds.
            
            BUILD SUCCEEDED
            
     [nant] tests/NAnt.Core/NAnt.Core.build build

            Buildfile: file:///C:/Documents and 
Settings/molitor_t/Desktop/nant-0.8.3.50105/tests/NAnt.Core/NAnt.Core.build
            
            build:
            
            Total time: 0 seconds.
            
            BUILD SUCCEEDED
            
     [nant] tests/NAnt.Console/NAnt.Console.build build

            Buildfile: file:///C:/Documents and 
Settings/molitor_t/Desktop/nant-0.8.3.50105/tests/NAnt.Console/NAnt.Console.build
            
            build:
            
            Total time: 0 seconds.
            
            BUILD SUCCEEDED
            
     [nant] tests/NAnt.DotNet/NAnt.DotNet.build build

            Buildfile: file:///C:/Documents and 
Settings/molitor_t/Desktop/nant-0.8.3.50105/tests/NAnt.DotNet/NAnt.DotNet.build
            
            build:
            
            Total time: 0 seconds.
            
            BUILD SUCCEEDED
            
     [nant] tests/NAnt.Zip/NAnt.Zip.build build

            Buildfile: file:///C:/Documents and 
Settings/molitor_t/Desktop/nant-0.8.3.50105/tests/NAnt.Zip/NAnt.Zip.build
            
            build:
            
            Total time: 0 seconds.
            
            BUILD SUCCEEDED
            
     [nant] tests/NAnt.VisualCpp/NAnt.VisualCpp.build build

            Buildfile: file:///C:/Documents and 
Settings/molitor_t/Desktop/nant-0.8.3.50105/tests/NAnt.VisualCpp/NAnt.VisualCpp.build
            
            build:
            
            Total time: 0 seconds.
            
            BUILD SUCCEEDED
            
     [nant] tests/NAnt.VSNet/NAnt.VSNet.build build

            Buildfile: file:///C:/Documents and 
Settings/molitor_t/Desktop/nant-0.8.3.50105/tests/NAnt.VSNet/NAnt.VSNet.build
            
            build:
            
            Total time: 0 seconds.
            
            BUILD SUCCEEDED
            
     [nant] tests/NAnt.Win32/NAnt.Win32.build build

            Buildfile: file:///C:/Documents and 
Settings/molitor_t/Desktop/nant-0.8.3.50105/tests/NAnt.Win32/NAnt.Win32.build
            
            build:
            
            Total time: 0 seconds.
            
            BUILD SUCCEEDED
            

test:

     [echo] Running unit tests with just built version of NAnt.
     [exec] C:\Documents and 
Settings\molitor_t\Desktop\nant-0.8.3.50105/build/nant-0.8.3.50105-debug/bin/NAnt.exe  
-buildfile:NAnt.build debug self-test -D:project.version=0.8.3.50105 -k:net-1.0
            NAnt version 0.8.3 Copyright (C) 2001-2003 Gerry Shaw
            http://nant.sourceforge.net
            
            Buildfile: file:///C:/Documents and 
Settings/molitor_t/Desktop/nant-0.8.3.50105/NAnt.build
                 [echo] Using 'net-1.0' Framework
            
            debug:
            
            
            init:
            
            
            self-test:
            
                 [echo] testing with config 'C:\Documents and 
Settings\molitor_t\Desktop\nant-0.8.3.50105\build\nant-0.8.3.50105-debug\bin\nant.exe.config'
                 [nant] tests/NAnt.Console/NAnt.Console.build test
            
                        Buildfile: file:///C:/Documents and 
Settings/molitor_t/Desktop/nant-0.8.3.50105/tests/NAnt.Console/NAnt.Console.build
                        
                        build:
                        
                        
                        test:
                        
                           [nunit2] Tests run: 9, Failures: 0, Not run: 0, Time: 
4,108849 seconds
            
            
                        Total time: 4 seconds.
                        
                        BUILD SUCCEEDED
                        
                 [nant] tests/NAnt.Core/NAnt.Core.build test
            
                        Buildfile: file:///C:/Documents and 
Settings/molitor_t/Desktop/nant-0.8.3.50105/tests/NAnt.Core/NAnt.Core.build
                        
                        build:
                        
                        
                        test:
                        
                           [nunit2] 
                           [nunit2] BUILD SUCCEEDED
                           [nunit2] 
                           [nunit2] Tests run: 128, Failures: 7, Not run: 0, Time: 
10,529902 seconds
            
            Failures:
            1) Tests.NAnt.Core.FileSetTest.Test_Includes_All : TempDir: 
C:\DOCUME~1\MOLITO~1\LOCALS~1\Temp\Tests.NAnt.Core.FileSetTest still exists.
               at Tests.NAnt.Core.Util.TempDir.Delete(String path) in C:\Documents and 
Settings\molitor_t\Desktop\nant-0.8.3.50105\tests\NAnt.Core\Util\TempDir.cs:line 70
               at Tests.NAnt.Core.BuildTestBase.TearDown() in C:\Documents and 
Settings\molitor_t\Desktop\nant-0.8.3.50105\tests\NAnt.Core\BuildTestBase.cs:line 70
            
            2) Tests.NAnt.Core.FileSetTest.Test_Includes_All_Excludes_Some : Unable to 
cleanup 'C:\DOCUME~1\MOLITO~1\LOCALS~1\Temp\Tests.NAnt.Core.FileSetTest'.  Access to 
the path "C:\DOCUME~1\MOLITO~1\LOCALS~1\Temp\Tests.NAnt.Core.FileSetTest" is denied.
               at Tests.NAnt.Core.Util.TempDir.Delete(String path) in C:\Documents and 
Settings\molitor_t\Desktop\nant-0.8.3.50105\tests\NAnt.Core\Util\TempDir.cs:line 66
               at Tests.NAnt.Core.BuildTestBase.TearDown() in C:\Documents and 
Settings\molitor_t\Desktop\nant-0.8.3.50105\tests\NAnt.Core\BuildTestBase.cs:line 70
            
            3) Tests.NAnt.Core.FileSetTest.Test_Includes_Wildcards1 : Unable to 
cleanup 'C:\DOCUME~1\MOLITO~1\LOCALS~1\Temp\Tests.NAnt.Core.FileSetTest'.  Access to 
the path "C:\DOCUME~1\MOLITO~1\LOCALS~1\Temp\Tests.NAnt.Core.FileSetTest" is denied.
               at Tests.NAnt.Core.Util.TempDir.Delete(String path) in C:\Documents and 
Settings\molitor_t\Desktop\nant-0.8.3.50105\tests\NAnt.Core\Util\TempDir.cs:line 66
               at Tests.NAnt.Core.BuildTestBase.TearDown() in C:\Documents and 
Settings\molitor_t\Desktop\nant-0.8.3.50105\tests\NAnt.Core\BuildTestBase.cs:line 70
            
            4) Tests.NAnt.Core.FileSetTest.Test_Includes_Wildcards2 : Unable to 
cleanup 'C:\DOCUME~1\MOLITO~1\LOCALS~1\Temp\Tests.NAnt.Core.FileSetTest'.  Access to 
the path "C:\DOCUME~1\MOLITO~1\LOCALS~1\Temp\Tests.NAnt.Core.FileSetTest" is denied.
               at Tests.NAnt.Core.Util.TempDir.Delete(String path) in C:\Documents and 
Settings\molitor_t\Desktop\nant-0.8.3.50105\tests\NAnt.Core\Util\TempDir.cs:line 66
               at Tests.NAnt.Core.BuildTestBase.TearDown() in C:\Documents and 
Settings\molitor_t\Desktop\nant-0.8.3.50105\tests\NAnt.Core\BuildTestBase.cs:line 70
            
            5) Tests.NAnt.Core.FileSetTest.Test_Includes_Sub1 : Unable to cleanup 
'C:\DOCUME~1\MOLITO~1\LOCALS~1\Temp\Tests.NAnt.Core.FileSetTest'.  Access to the path 
"C:\DOCUME~1\MOLITO~1\LOCALS~1\Temp\Tests.NAnt.Core.FileSetTest" is denied.
               at Tests.NAnt.Core.Util.TempDir.Delete(String path) in C:\Documents and 
Settings\molitor_t\Desktop\nant-0.8.3.50105\tests\NAnt.Core\Util\TempDir.cs:line 66
               at Tests.NAnt.Core.BuildTestBase.TearDown() in C:\Documents and 
Settings\molitor_t\Desktop\nant-0.8.3.50105\tests\NAnt.Core\BuildTestBase.cs:line 70
            
            6) Tests.NAnt.Core.FileSetTest.Test_Includes_Sub2 : Unable to cleanup 
'C:\DOCUME~1\MOLITO~1\LOCALS~1\Temp\Tests.NAnt.Core.FileSetTest'.  Access to the path 
"C:\DOCUME~1\MOLITO~1\LOCALS~1\Temp\Tests.NAnt.Core.FileSetTest" is denied.
               at Tests.NAnt.Core.Util.TempDir.Delete(String path) in C:\Documents and 
Settings\molitor_t\Desktop\nant-0.8.3.50105\tests\NAnt.Core\Util\TempDir.cs:line 66
               at Tests.NAnt.Core.BuildTestBase.TearDown() in C:\Documents and 
Settings\molitor_t\Desktop\nant-0.8.3.50105\tests\NAnt.Core\BuildTestBase.cs:line 70
            
            7) Tests.NAnt.Core.FileSetTest.Test_Includes_List : Unable to cleanup 
'C:\DOCUME~1\MOLITO~1\LOCALS~1\Temp\Tests.NAnt.Core.FileSetTest'.  Access to the path 
"C:\DOCUME~1\MOLITO~1\LOCALS~1\Temp\Tests.NAnt.Core.FileSetTest" is denied.
               at Tests.NAnt.Core.Util.TempDir.Delete(String path) in C:\Documents and 
Settings\molitor_t\Desktop\nant-0.8.3.50105\tests\NAnt.Core\Util\TempDir.cs:line 66
               at Tests.NAnt.Core.BuildTestBase.TearDown() in C:\Documents and 
Settings\molitor_t\Desktop\nant-0.8.3.50105\tests\NAnt.Core\BuildTestBase.cs:line 70
            
            
                        Total time: 11 seconds.
                        
                        BUILD FAILED
                        
                        Tests Failed
                        
            Total time: 16 seconds.
            
            BUILD FAILED
            
            Nested build failed.  Refer to build log for exact reason.
            
Total time: 20 seconds.

BUILD FAILED

C:\Documents and Settings\molitor_t\Desktop\nant-0.8.3.50105\NAnt.build(120,10):
 External Program Failed: C:\Documents and 
Settings\molitor_t\Desktop\nant-0.8.3.50105/build/nant-0.8.3.50105-debug/bin/NAnt.exe 
(return code was 1)

Reply via email to