Bugs item #1339746, was opened at 2005-10-27 10:35
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1339746&group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Tasks
Group: 0.7.749.5625
Status: Open
Resolution: None
Priority: 5
Submitted By: Jason Graves (godlikemouse)
Assigned to: Nobody/Anonymous (nobody)
Summary: Solution Task Ignoring C++ Build Order

Initial Comment:
When building a solution in c++, nant completely 
ignores the build order specified in the solution which is 
causing the real build to fail.  The following is a sample 
build which will list the supposed build order with the 
actual details of the build with NAnt:

Required Build Order:

Project2
Project1
Project3

Actual Build Output:


C:\>call "c:\program files\microsoft visual studio .net 
2003\common7\tools\vsvars32.bat" 
Setting environment for using Microsoft Visual 
Studio .NET 2003 tools.
(If you have another version of Visual Studio or Visual 
C++ installed and wish
to use its tools from the command line, run vcvars32.bat 
for that version.)

C:\>c:\nant\bin\nant -buildfile:test.build 
NAnt 0.85 (Build 0.85.2121.0; nightly; 10/22/2005)
Copyright (C) 2001-2005 Gerry Shaw
http://nant.sourceforge.net

Buildfile: file:///C:/test.build
Target framework: Microsoft .NET Framework 1.1
Target(s) specified: build 


build:

 [solution] Starting solution build.
 [solution] Loading projects...
 [solution] Loading project 'c:\dev\Project1\Project1
\Project1.vcproj'.
 [solution] Loading project 'c:\dev\Project1\Propject2
\Propject2.vcproj'.
 [solution] Loading project 'c:\dev\Project1\Propject3
\Propject3.vcproj'.
 [solution] Gathering additional dependencies...
 [solution] Fixing up references...
 [solution] Building 'Project1' [Debug] ...
               [attrib] No matching files or directories found.
                   [cl] 'c:\dev\Project1\Project1
\Debug\Project1.pch' does not exist, recompiling.
                   [cl] PCH out of date, recompiling all 
sources.
                   [cl] Compiling 1 files to 'c:\dev\Project1
\Project1\Debug'.
                   [cl] Contents of C:\DOCUME~1
\jgraves\LOCALS~1\Temp\tmp1258.tmp.
                   [cl] /c
                   [cl] /clr
                   [cl] /D "WIN32"
                   [cl] /D "_DEBUG"
                   
[cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322
\mscorlib.dll"
                   
[cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322
\System.Data.dll"
                   
[cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322
\System.dll"
                   [cl] /Fd"c:\dev\Project1\Project1
\Debug\vc70.pdb"
                   [cl] /Fo"c:\dev\Project1\Project1\Debug\"
                   [cl] /Fp"c:\dev\Project1\Project1
\Debug\Project1.pch"
                   [cl] /Yc"StdAfx.h"
                   [cl] "c:\dev\Project1\Project1\stdafx.cpp"
                   [cl] /D "_MBCS"
                   [cl] 
                   [cl] Starting 'cl (@"C:\DOCUME~1
\jgraves\LOCALS~1
\Temp\tmp1258.tmp" /EHsc /W3 /MTd /Zi /Od /nologo)' 
in 'c:\dev\Project1\Project1'
                   [cl] stdafx.cpp
                   [cl] 'c:\dev\Project1\Project1
\Debug\AssemblyInfo.obj' does not exist, recompiling.
                   [cl] 'c:\dev\Project1\Project1
\Debug\Project1.obj' does not exist, recompiling.
                   [cl] Compiling 2 files to 'c:\dev\Project1
\Project1\Debug'.
                   [cl] Contents of C:\DOCUME~1
\jgraves\LOCALS~1\Temp\tmp1259.tmp.
                   [cl] /c
                   [cl] /clr
                   [cl] /D "WIN32"
                   [cl] /D "_DEBUG"
                   
[cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322
\mscorlib.dll"
                   
[cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322
\System.Data.dll"
                   
[cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322
\System.dll"
                   [cl] /Fd"c:\dev\Project1\Project1
\Debug\vc70.pdb"
                   [cl] /Fo"c:\dev\Project1\Project1\Debug\"
                   [cl] /Fp"c:\dev\Project1\Project1
\Debug\Project1.pch"
                   [cl] /Yu"StdAfx.h"
                   [cl] "c:\dev\Project1\Project1
\AssemblyInfo.cpp"
                   [cl] "c:\dev\Project1\Project1\Project1.cpp"
                   [cl] /D "_MBCS"
                   [cl] 
                   [cl] Starting 'cl (@"C:\DOCUME~1
\jgraves\LOCALS~1
\Temp\tmp1259.tmp" /EHsc /W3 /MTd /Zi /Od /nologo)' 
in 'c:\dev\Project1\Project1'
                   [cl] AssemblyInfo.cpp
                   [cl] Project1.cpp
                   [cl] Generating Code...
                   [rc] 'c:\dev\Project1\Project1
\Debug\app.res' does not exist, recompiling.
                   [rc] Compiling "c:\dev\Project1\Project1
\app.rc" to "c:\dev\Project1\Project1\Debug\app.res".
                   [rc] Starting 'rc (/v /fo"c:\dev\Project1
\Project1\Debug\app.res" "c:\dev\Project1\Project1
\app.rc" )' in 'c:\dev\Project1\Project1'
                   [rc] Microsoft (R) Windows (R) Resource 
Compiler Version 5.2.3668.0
                   [rc] 
                   [rc] Copyright (C) Microsoft Corporation.  
All rights reserved.
                   [rc] 
                   [rc] 
                   [rc] Creating c:\dev\Project1\Project1
\Debug\app.res
                   [rc] 
                 [link] PDB file 'c:\dev\Project1
\Debug\Project1.pdb' does not exist, relinking.
                 [link] Linking 16 files.
                 [link] Contents of C:\DOCUME~1
\jgraves\LOCALS~1\Temp\tmp125A.tmp.
                 [link] /OUT:"c:\dev\Project1
\Debug\Project1.exe"
                 [link] /DEBUG
                 [link] /PDB:"c:\dev\Project1
\Debug\Project1.pdb"
                 [link] /nologo
                 [link] "kernel32.lib"
                 [link] "user32.lib"
                 [link] "gdi32.lib"
                 [link] "winspool.lib"
                 [link] "comdlg32.lib"
                 [link] "advapi32.lib"
                 [link] "shell32.lib"
                 [link] "ole32.lib"
                 [link] "oleaut32.lib"
                 [link] "uuid.lib"
                 [link] "odbc32.lib"
                 [link] "odbccp32.lib"
                 [link] "c:\dev\Project1\Project1
\Debug\AssemblyInfo.obj"
                 [link] "c:\dev\Project1\Project1
\Debug\Project1.obj"
                 [link] "c:\dev\Project1\Project1
\Debug\stdafx.obj"
                 [link] "c:\dev\Project1\Project1
\Debug\app.res"
                 [link] 
                 [link] Starting 'link (@"C:\DOCUME~1
\jgraves\LOCALS~1
\Temp\tmp125A.tmp" /INCREMENTAL /ASSEMBLYDE
BUG)' in 'c:\dev\Project1\Project1'
 [solution] Copying references:
 [solution] Fixing up references...
 [solution] Building 'Propject2' [Debug] ...
               [attrib] No matching files or directories found.
                   [cl] 'c:\dev\Project1\Propject2
\Debug\Propject2.pch' does not exist, recompiling.
                   [cl] PCH out of date, recompiling all 
sources.
                   [cl] Compiling 1 files to 'c:\dev\Project1
\Propject2\Debug'.
                   [cl] Contents of C:\DOCUME~1
\jgraves\LOCALS~1\Temp\tmp125D.tmp.
                   [cl] /c
                   [cl] /clr
                   [cl] /D "WIN32"
                   [cl] /D "_DEBUG"
                   
[cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322
\mscorlib.dll"
                   
[cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322
\System.Data.dll"
                   
[cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322
\System.dll"
                   [cl] /Fd"c:\dev\Project1\Propject2
\Debug\vc70.pdb"
                   [cl] /Fo"c:\dev\Project1\Propject2\Debug\"
                   [cl] /Fp"c:\dev\Project1\Propject2
\Debug\Propject2.pch"
                   [cl] /Yc"StdAfx.h"
                   [cl] "c:\dev\Project1\Propject2\stdafx.cpp"
                   [cl] /D "_MBCS"
                   [cl] 
                   [cl] Starting 'cl (@"C:\DOCUME~1
\jgraves\LOCALS~1
\Temp\tmp125D.tmp" /EHsc /W3 /MTd /Zi /Od /nologo)' 
in 'c:\dev\Project1\Propject2'
                   [cl] stdafx.cpp
                   [cl] 'c:\dev\Project1\Propject2
\Debug\AssemblyInfo.obj' does not exist, recompiling.
                   [cl] 'c:\dev\Project1\Propject2
\Debug\Propject2.obj' does not exist, recompiling.
                   [cl] Compiling 2 files to 'c:\dev\Project1
\Propject2\Debug'.
                   [cl] Contents of C:\DOCUME~1
\jgraves\LOCALS~1\Temp\tmp125E.tmp.
                   [cl] /c
                   [cl] /clr
                   [cl] /D "WIN32"
                   [cl] /D "_DEBUG"
                   
[cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322
\mscorlib.dll"
                   
[cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322
\System.Data.dll"
                   
[cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322
\System.dll"
                   [cl] /Fd"c:\dev\Project1\Propject2
\Debug\vc70.pdb"
                   [cl] /Fo"c:\dev\Project1\Propject2\Debug\"
                   [cl] /Fp"c:\dev\Project1\Propject2
\Debug\Propject2.pch"
                   [cl] /Yu"StdAfx.h"
                   [cl] "c:\dev\Project1\Propject2
\AssemblyInfo.cpp"
                   [cl] "c:\dev\Project1\Propject2
\Propject2.cpp"
                   [cl] /D "_MBCS"
                   [cl] 
                   [cl] Starting 'cl (@"C:\DOCUME~1
\jgraves\LOCALS~1
\Temp\tmp125E.tmp" /EHsc /W3 /MTd /Zi /Od /nologo)' 
in 'c:\dev\Project1\Propject2'
                   [cl] AssemblyInfo.cpp
                   [cl] Propject2.cpp
                   [cl] Generating Code...
                   [rc] 'c:\dev\Project1\Propject2
\Debug\app.res' does not exist, recompiling.
                   [rc] Compiling "c:\dev\Project1\Propject2
\app.rc" to "c:\dev\Project1\Propject2\Debug\app.res".
                   [rc] Starting 'rc (/v /fo"c:\dev\Project1
\Propject2\Debug\app.res" "c:\dev\Project1\Propject2
\app.rc" )' in 'c:\dev\Project1\Propject2'
                   [rc] Microsoft (R) Windows (R) Resource 
Compiler Version 5.2.3668.0
                   [rc] 
                   [rc] Copyright (C) Microsoft Corporation.  
All rights reserved.
                   [rc] 
                   [rc] 
                   [rc] Creating c:\dev\Project1\Propject2
\Debug\app.res
                   [rc] 
                 [link] PDB file 'c:\dev\Project1
\Debug\Propject2.pdb' does not exist, relinking.
                 [link] Linking 16 files.
                 [link] Contents of C:\DOCUME~1
\jgraves\LOCALS~1\Temp\tmp125F.tmp.
                 [link] /OUT:"c:\dev\Project1
\Debug\Propject2.exe"
                 [link] /DEBUG
                 [link] /PDB:"c:\dev\Project1
\Debug\Propject2.pdb"
                 [link] /nologo
                 [link] "kernel32.lib"
                 [link] "user32.lib"
                 [link] "gdi32.lib"
                 [link] "winspool.lib"
                 [link] "comdlg32.lib"
                 [link] "advapi32.lib"
                 [link] "shell32.lib"
                 [link] "ole32.lib"
                 [link] "oleaut32.lib"
                 [link] "uuid.lib"
                 [link] "odbc32.lib"
                 [link] "odbccp32.lib"
                 [link] "c:\dev\Project1\Propject2
\Debug\AssemblyInfo.obj"
                 [link] "c:\dev\Project1\Propject2
\Debug\Propject2.obj"
                 [link] "c:\dev\Project1\Propject2
\Debug\stdafx.obj"
                 [link] "c:\dev\Project1\Propject2
\Debug\app.res"
                 [link] 
                 [link] Starting 'link (@"C:\DOCUME~1
\jgraves\LOCALS~1
\Temp\tmp125F.tmp" /INCREMENTAL /ASSEMBLYDEB
UG)' in 'c:\dev\Project1\Propject2'
 [solution] Copying references:
 [solution] Fixing up references...
 [solution] Building 'Propject3' [Debug] ...
               [attrib] No matching files or directories found.
                   [cl] 'c:\dev\Project1\Propject3
\Debug\Propject3.pch' does not exist, recompiling.
                   [cl] PCH out of date, recompiling all 
sources.
                   [cl] Compiling 1 files to 'c:\dev\Project1
\Propject3\Debug'.
                   [cl] Contents of C:\DOCUME~1
\jgraves\LOCALS~1\Temp\tmp1262.tmp.
                   [cl] /c
                   [cl] /clr
                   [cl] /D "WIN32"
                   [cl] /D "_DEBUG"
                   
[cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322
\mscorlib.dll"
                   
[cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322
\System.Data.dll"
                   
[cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322
\System.dll"
                   [cl] /Fd"c:\dev\Project1\Propject3
\Debug\vc70.pdb"
                   [cl] /Fo"c:\dev\Project1\Propject3\Debug\"
                   [cl] /Fp"c:\dev\Project1\Propject3
\Debug\Propject3.pch"
                   [cl] /Yc"StdAfx.h"
                   [cl] "c:\dev\Project1\Propject3\stdafx.cpp"
                   [cl] /D "_MBCS"
                   [cl] 
                   [cl] Starting 'cl (@"C:\DOCUME~1
\jgraves\LOCALS~1
\Temp\tmp1262.tmp" /EHsc /W3 /MTd /Zi /Od /nologo)' 
in 'c:\dev\Project1\Propject3'
                   [cl] stdafx.cpp
                   [cl] 'c:\dev\Project1\Propject3
\Debug\AssemblyInfo.obj' does not exist, recompiling.
                   [cl] 'c:\dev\Project1\Propject3
\Debug\Propject3.obj' does not exist, recompiling.
                   [cl] Compiling 2 files to 'c:\dev\Project1
\Propject3\Debug'.
                   [cl] Contents of C:\DOCUME~1
\jgraves\LOCALS~1\Temp\tmp1263.tmp.
                   [cl] /c
                   [cl] /clr
                   [cl] /D "WIN32"
                   [cl] /D "_DEBUG"
                   
[cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322
\mscorlib.dll"
                   
[cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322
\System.Data.dll"
                   
[cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322
\System.dll"
                   [cl] /Fd"c:\dev\Project1\Propject3
\Debug\vc70.pdb"
                   [cl] /Fo"c:\dev\Project1\Propject3\Debug\"
                   [cl] /Fp"c:\dev\Project1\Propject3
\Debug\Propject3.pch"
                   [cl] /Yu"StdAfx.h"
                   [cl] "c:\dev\Project1\Propject3
\AssemblyInfo.cpp"
                   [cl] "c:\dev\Project1\Propject3
\Propject3.cpp"
                   [cl] /D "_MBCS"
                   [cl] 
                   [cl] Starting 'cl (@"C:\DOCUME~1
\jgraves\LOCALS~1
\Temp\tmp1263.tmp" /EHsc /W3 /MTd /Zi /Od /nologo)' 
in 'c:\dev\Project1\Propject3'
                   [cl] AssemblyInfo.cpp
                   [cl] Propject3.cpp
                   [cl] Generating Code...
                   [rc] 'c:\dev\Project1\Propject3
\Debug\app.res' does not exist, recompiling.
                   [rc] Compiling "c:\dev\Project1\Propject3
\app.rc" to "c:\dev\Project1\Propject3\Debug\app.res".
                   [rc] Starting 'rc (/v /fo"c:\dev\Project1
\Propject3\Debug\app.res" "c:\dev\Project1\Propject3
\app.rc" )' in 'c:\dev\Project1\Propject3'
                   [rc] Microsoft (R) Windows (R) Resource 
Compiler Version 5.2.3668.0
                   [rc] 
                   [rc] Copyright (C) Microsoft Corporation.  
All rights reserved.
                   [rc] 
                   [rc] 
                   [rc] Creating c:\dev\Project1\Propject3
\Debug\app.res
                   [rc] 
                 [link] PDB file 'c:\dev\Project1
\Debug\Propject3.pdb' does not exist, relinking.
                 [link] Linking 16 files.
                 [link] Contents of C:\DOCUME~1
\jgraves\LOCALS~1\Temp\tmp1264.tmp.
                 [link] /OUT:"c:\dev\Project1
\Debug\Propject3.exe"
                 [link] /DEBUG
                 [link] /PDB:"c:\dev\Project1
\Debug\Propject3.pdb"
                 [link] /nologo
                 [link] "kernel32.lib"
                 [link] "user32.lib"
                 [link] "gdi32.lib"
                 [link] "winspool.lib"
                 [link] "comdlg32.lib"
                 [link] "advapi32.lib"
                 [link] "shell32.lib"
                 [link] "ole32.lib"
                 [link] "oleaut32.lib"
                 [link] "uuid.lib"
                 [link] "odbc32.lib"
                 [link] "odbccp32.lib"
                 [link] "c:\dev\Project1\Propject3
\Debug\AssemblyInfo.obj"
                 [link] "c:\dev\Project1\Propject3
\Debug\Propject3.obj"
                 [link] "c:\dev\Project1\Propject3
\Debug\stdafx.obj"
                 [link] "c:\dev\Project1\Propject3
\Debug\app.res"
                 [link] 
                 [link] Starting 'link (@"C:\DOCUME~1
\jgraves\LOCALS~1
\Temp\tmp1264.tmp" /INCREMENTAL /ASSEMBLYDEB
UG)' in 'c:\dev\Project1\Propject3'
 [solution] Copying references:

BUILD SUCCEEDED

Total time: 4.5 seconds.



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1339746&group_id=31650


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to