| Searching a log file for "Error " string | Searching a log file for "Error " string 2004-01-28 - By James Millet
Hi, One of the tasks in my build process is an 'exec' task that invokes a C++ compiler with its output going to a file specified in the "output" attribute of the exec task. I would like to search that output file for the string "Error" and fail the build if it is found. I see how to use the "fail" task with it's 'if' and 'unless' attributes for properies, so my big problem is how to do the search for "Error" and set (or not set) a property. I see <linecontains>, but that seems to be in the context of copying and I am not doing any copies. Any suggestions? Thanks, Jim Millet millet@(protected)
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|
 |