I have a build script that uses regular expressions to manipulate files
and it generates a lot of warnings and non-fatal error messages.

 

For example, see this code:

<regex pattern="(?'assemblyinfo.file.version'\[assembly:
AssemblyFileVersion\(&quot;[^&quot;]*&quot;\)\])"
input="${assemblyinfo.contents}" failonerror="false" verbose="false"/>

 

If this code fails, I want to echo to the console, but I don't want to
get a non-fatal error or a warning about it.

 

How would I go about this?

 

Thanks!

Rory

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to