It appears that the build instructions have changed again and my NAnt build
batch files aren't working any longer.

I'd like to be able to compile NAnt and NAntContrib and then run the
NAntContrib msi task to create the NAnt.msi that the rest of our developers
will use.

I had been doing the following:

----------------------------------------------------------
nmake -f Makefile.nmake

bootstrap\NAnt.exe package

cd ..

cd NAntContrib

..\nant\build\net-1.1.win32\nant-0.85-debug\bin\nant
-D:nant.dir="..\nant\build\net-1.1.win32\nant-0.85-debug"
-f:NAntContrib.build


xcopy /E /S /Y build\nantcontrib-0.85-debug
..\nant\build\net-1.1.win32\nant-0.85-debug

..\nant\build\net-1.1.win32\nant-0.85-debug\bin\nant
-D:nant.dir="..\nant\build\net-1.1.win32\nant-0.85-debug"
-f:NAntContrib.build msi
--------------------------------------------------------

Now the bootstrap\NAnt.exe package fails with the following error

    [nant] C:\src\nantsrc\test\nant\src\NAnt.VSNet\NAnt.VSNet.build build
            Buildfile:
file:///C:/src/nantsrc/test/nant/src/NAnt.VSNet/NAnt.VSNet.build
            Target framework: Microsoft .NET Framework 1.1
            Target(s) specified: build 
            
            
            build:
            
                  [csc] Compiling 39 files to
'C:\src\nantsrc\test\nant\build\net-1.1.win32\nant-0.85-debug\bin\NAnt.VSNet
Tasks.dll'."
                  [csc]
c:\src\nantsrc\test\nant\src\NAnt.VSNet\ProjectBase.cs(152,29): error
CS0117: 'NAnt.Core.Util.FileUtils' does not contain a definition for
'GetHomeDirectory'
            
            BUILD FAILED
            
            C:\src\nantsrc\test\nant\src\NAnt.VSNet\NAnt.VSNet.build(11,10):
            External Program Failed:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\csc.exe (return code was 1)
            
            Total time: 1.5 seconds.

Thanks,

John Cole


-------------------------------------
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error please notify the system manager. This 
message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail.


-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to