[NAnt-users] Question: Run certain target after another target fails

2008-03-19 Thread JulianH
Hello, We use NAnt in our project and I try to call a certain target if another target fails. So, lets say, we have the following – simplified - build script: Nant Script I want to run a certain target g, when the target named “

Re: [NAnt-users] Question: Run certain target after another target fails

2008-03-19 Thread Chris Lambrou
Julian, Have a look at the task from NAntContrib - HYPERLINK "http://nantcontrib.sourceforge.net/"http://nantcontrib.sourceforge.net/ You script would end up looking something like this: Nant Script

Re: [NAnt-users] task

2008-03-19 Thread Bob Archer
Sorry... I don't really know vss well enough. Figure out what command line would list locked files. You may need to have the output go to a file, then read the file in nant. Once you know the command line, the exec task will be pretty simple. BOb From: V

Re: [NAnt-users] Question: Run certain target after another target fails

2008-03-19 Thread Bob Archer
Set the nant.onfailure property in the beginning of your run target: BOb From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of JulianH Sent: Wednesday, March 19, 2008 8:55 AM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Questi