Re: Target Failure Determination

Bob Archer <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nant.user
Message-ID <[email protected]>
I don't know a way to do it. But, you could just look at the log to figure it out. The last task to run is the one that failed.

From: Macdiarmid, James D. [mailto:[email protected]]
Sent: Monday, November 01, 2010 1:50 PM
To: [email protected]
Subject: [NAnt-users] Target Failure Determination


Would anyone know if there is a way to determine what target or task failed when using nant.failure?   What I was considering on do was setting a property based on what task the script is currently processing, then clear the property at the end of the task.  If the property is not blank then have the script roll back everything up to and including the name of the task that was recorded in the property.  Make sense?   Would there be a better way of doing this?

Thanks

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev

_______________________________________________
NAnt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.