logging - How do I save NAnt log output to a file? -
How can I set a destination for the log messages of NAnt in my build script?
Just want to specify a file path, on each build, no overwrite the contents of this file with its message output.
You can use it for that. One option is to give the logfile parameter to the command. This file is overwritten on each execution.
You may have a batch file that calls no for each build file and related output.
NAnt.exe -build: [build file for PROJ1] -file: c: \ Temp \ BuildOutput1.txt NAnt.exe -Build: [build file for PROJ2] -file: C: \ temp \ BuildOutput2.txt. . I recommend that you look in an app, just as you have not done before.
Comments
Post a Comment