Re: [NAnt-users] ignoring compilation error messages

2009-02-05 Thread Jacob Siegel
If it is a warning - you can typically turn them off with a #pragma statment in code. In VC, it is a #pragma warning, not sure in C# or VB, but I know they exist. -Jacob Quoting Brass Tilde : >> that I want to build with nant. The problem is that our project has a number >> of errors tha

Re: [NAnt-users] ignoring compilation error messages

2009-02-05 Thread Bob Archer
> In Visual Studio you simply say continue. I am going to try this > failonerror > tag and will update you. The problem I see is how you know if you ignore errors if it is the expected error or a new/unexpected one? Personally, I think the best answer here is to fix the compile error(s). Don't as

Re: [NAnt-users] ignoring compilation error messages

2009-02-05 Thread gmoney
In Visual Studio you simply say continue. I am going to try this failonerror tag and will update you. gmoney wrote: > > Hi, > > I a new to nant so excuse the silly questions. I have a project in VSS > that I want to build with nant. The problem is that our project has a > number of errors that

Re: [NAnt-users] ignoring compilation error messages

2009-02-05 Thread Brass Tilde
> that I want to build with nant. The problem is that our project has a number > of errors that I need to ignore. I know that these errors should be fixed, > but for some silly political reason they need to be ignored and my Mgr is > over ruling me. Just out of curiosity, how do you ignore errors?

Re: [NAnt-users] ignoring compilation error messages

2009-02-05 Thread Adam Burton
You can continue the script. On most NAnt tasks there is a property called something like "failonerror", if set to false the script ignores the failure of the task and continues. Alternatively the NAntContrib has a trycatch block which lets you react to the failure. Regardless, with an error wha

Re: [NAnt-users] ignoring compilation error messages

2009-02-04 Thread Gert Driesen
There's no support for ignoring errors, and I doubt you'll find similar anywhere. From: gmoney [mailto:g.lab...@autodata.ltd.uk] Sent: woensdag 4 februari 2009 21:18 To: nant-users@lists.sourceforge.net Subject: [NAnt-users] ignoring compilation error messages Hi, I a new

[NAnt-users] ignoring compilation error messages

2009-02-04 Thread gmoney
Hi, I a new to nant so excuse the silly questions. I have a project in VSS that I want to build with nant. The problem is that our project has a number of errors that I need to ignore. I know that these errors should be fixed, but for some silly political reason they need to be ignored and my Mg