[NAnt-users] Input prompting ...

2009-11-03 Thread Parrish, Ken
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

Re: [NAnt-users] Input prompting ...

2009-11-03 Thread Bob Archer
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:

Re: [NAnt-users] Input prompting ...

2009-11-03 Thread Torben Rohde
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

Re: [NAnt-users] Input prompting ...

2009-11-03 Thread Michael Pento
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

[NAnt-users] nANT and nUnit2 integration and running test.

2009-11-03 Thread Steven Whatmore
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.

Re: [NAnt-users] nANT and nUnit2 integration and running test.

2009-11-03 Thread Bob Archer
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

Re: [NAnt-users] Input prompting ...

2009-11-03 Thread Parrish, Ken
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; nant-users@lists.sourceforge.net

Re: [NAnt-users] nANT and nUnit2 integration and running test.

2009-11-03 Thread Steven Whatmore
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