Bugs item #1214732, was opened at 2005-06-04 10:29
Message generated for change (Settings changed) made by cchan_qa
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1214732&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.85
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: IRON (imakowski)
>Assigned to: Charles Chan (cchan_qa)
Summary: Verbosity is not set corectly for tasks.
Initial Comment:
This is very critical issue because in my case log file is
5 - 6 MB big. ( something about 3 - 4 MB of logs are
from uneeded output )
For example:
1. delete task:
line for one file should look like this
if (File != null) { // delete a single file
// delete the file in verbose mode
DeleteFile(File.FullName, Verbose);
} else {....}
2. Execute task outputs its log even if output attribute is
set to file ( this attribute should redirect STDoutput to file)
ExternalProgramBase.cs should be changed to look like
this:
// ensure only one thread writes to the log at any time
lock (_lockObject) {
if (Output != null)
{
StreamWriter writer = new StreamWriter
(Output.FullName, doAppend);
writer.WriteLine(logContents);
doAppend = true;
writer.Close();
} else if( Verbose == true )
{
OutputWriter.WriteLine(logContents);
}
}
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1214732&group_id=31650
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
nant-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-developers