Nant Users, Is there a task that can be used to prompt a user for input of a property? I'd like to design some tasks which will prompt the user for input of a property if the property was not specified on the command line. I looked in both Nant and NantContrib and didn't see anything. Am I
The only thing I could think would be to exec a bat file that prompts for a value and writes it to a text file or something. I pretty much think nant is designed for non-attended use. BOb From: Parrish, Ken [mailto:kparr...@gomez.com] Sent: Tuesday, November 03, 2009 9:34 AM To:
I once did the bat-file-method as Bob suggests, but I also wrapped it in a VB script (not the ultimate best-practice but it worked :-) Here's my code for inspiration if you decide to take that route: .vbs file: dim newline : newline = Chr(13) Chr(10) dim strApplicationMetaname
Good Afternoon Folks, I was just playing around with this and I was able to do it with a C# script function in a target: target name=getUserInput script language=C# prefix=build code![CDATA[ [Function(getInput)] public static
Good afternoon, I am trying to integrate my unit testing into a nightly build process and am having one hell of a time getting the test to run successfully. My unit test run fine from Visual Studio and using the test runner GUI but am receiving the following error when I run it from nANT.
The version nant references is different than the version that you are using in your own app. Use the exec task instead of the nunit2 task. http://www.hanselman.com/blog/CallingNUnitFromNAntPragmatically.aspx BOb -Original Message- From: Steven Whatmore
Mike, This looks like it will work just fine. I have a custom Nant extensions project and will add this in that DLL. Thanks, Ken Parrish Gomez, Inc. From: Michael Pento [mailto:mpe...@metratech.com] Sent: Tuesday, November 03, 2009 12:52 PM To: Parrish, Ken; email@example.com
Bob, Thanks for the direction, took me about an hour to figure that out and now my test suite is included as part of my nightly builds. Why did I waste almost a day and half trying to figure this out and should of just went to this immediately. Also using nunit2report to format my output