I am using the solution task to build the entire project solution and I
set failonerror=false so that all projects in the solution file will
attempt to build even it one or more of the project files fails to
build.  This was working for the most part, but now it seems to stop on
the first error and does not attempt build any of the other project
files.

Here is the ending of the log file after the first build errors were
encountered:
 
 [solution] External Program Failed: cl (return code was 2):
 [solution] NAnt.Core.BuildException: External Program Failed: cl
(return code was 2)
 [solution]    at NAnt.Core.Tasks.ExternalProgramBase.ExecuteTask() in
d:\Source\nant-20051112T154456Z\src\NAnt.Core\Tasks\ExternalProgramBase.
cs:line 315
 [solution]    at NAnt.VisualCpp.Tasks.ClTask.ExecuteTask() in
d:\Source\nant-20051112T154456Z\src\NAnt.VisualCpp\Tasks\ClTask.cs:line
426
 [solution]    at NAnt.Core.Task.Execute() in
d:\Source\nant-20051112T154456Z\src\NAnt.Core\Task.cs:line 171
 [solution]    at NAnt.VSNet.VcProject.ExecuteInProjectDirectory(Task
task) in
d:\Source\nant-20051112T154456Z\src\NAnt.VSNet\VcProject.cs:line 1500
 [solution]    at NAnt.VSNet.VcProject.BuildCPPFiles(ArrayList
fileNames, String solutionConfiguration, VcConfigurationBase fileConfig)
in d:\Source\nant-20051112T154456Z\src\NAnt.VSNet\VcProject.cs:line 796
 [solution]    at NAnt.VSNet.VcProject.Build(String
solutionConfiguration) in
d:\Source\nant-20051112T154456Z\src\NAnt.VSNet\VcProject.cs:line 331
 [solution]    at NAnt.VSNet.ProjectBase.Compile(String
solutionConfiguration) in
d:\Source\nant-20051112T154456Z\src\NAnt.VSNet\ProjectBase.cs:line 342
 [solution]    at NAnt.VSNet.SolutionBase.Compile(String
solutionConfiguration) in
d:\Source\nant-20051112T154456Z\src\NAnt.VSNet\SolutionBase.cs:line 263
 [solution]    at NAnt.VSNet.Tasks.SolutionTask.ExecuteTask() in
d:\Source\nant-20051112T154456Z\src\NAnt.VSNet\Tasks\SolutionTask.cs:lin
e 408
 [solution]    at NAnt.Core.Task.Execute() in
d:\Source\nant-20051112T154456Z\src\NAnt.Core\Task.cs:line 163
     [echo] Finished building the current solution:
D:\Projects\Notebook\Notebook Only and Components.sln, configuration:
Unicode Release.


Nothing in my Nant scripts have changed and unless all the other builds
were error free and therefore this did not show up before.  Does anyone
know how to make sure the build will continue all the way through?
Anything that I am missing?

Thanks,

Tim Mayert.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to