[NAnt-users] Query regarding nant contrib and Installshield.

2006-11-28 Thread santosh
Hello every one, I have a query since I have created a MSI file with nantContrib and need to do some modification through install shield like adding Com+ Component, Creating Database and after doing modification I want rebuild that MSI through install shield. I am unable to find any solutio

Re: [NAnt-users] Category inclusion/exclusion command line switch for Nunit-GUI.exe

2006-11-28 Thread Gert Driesen
Wrong list; please post this message to one of the NUnit lists instead. > -Original Message- > From: [EMAIL PROTECTED] [mailto:nant-users- > [EMAIL PROTECTED] On Behalf Of Brass Tilde > Sent: dinsdag 28 november 2006 21:22 > To: nant-users@lists.sourceforge.net > Subject: [NAnt-users] Cate

[NAnt-users] Category inclusion/exclusion command line switch for Nunit-GUI.exe

2006-11-28 Thread Brass Tilde
Is there a request to provide the /include and /exclude switches on the GUI command line as well as the console app? Is this a reasonable request? I use the NUnit-GUI app from within VS 2005, using the Debug tab from within the project properties for my test project, and I have some long runn

Re: [NAnt-users] foreach task: Looping over file lines, property does not extend

2006-11-28 Thread Michael Jervis
On 28/11/06, Chris Lambrou <[EMAIL PROTECTED]> wrote: > Remove the test from the do sub-element of the foreach task, and add it > to the echo task. Alternatively, if you want to perform more than just > one sub-task in the do element, place them inside an inner if task. Ah that's got it! Great! Th

Re: [NAnt-users] Mail Logger

2006-11-28 Thread Gert Driesen
Michael, I've committed a fix for this issue. We now automatically set sendusing to cdoSendUsingPort (2) if either a username or port is set, or if SSL is enabled. Let me know if this works for you. Do you have access to cvs, or do you want me to publish a new nightly build ? Gert > -Origi

Re: [NAnt-users] foreach task: Looping over file lines, property does not extend

2006-11-28 Thread Nguyen, Daniel
Michael, Interesting I'm using the same method in couple of targets here and it works fine. Not sure if there's any *possible* typo. Daniel -Original Message- From: Michael Jervis [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 28, 2006 10:42 AM To: nant-users@lists.sourceforge

Re: [NAnt-users] foreach task: Looping over file lines, property does not extend

2006-11-28 Thread Bob Archer
Hmmm... we do it like this and it works. Not sure why yours doesn't work. BOb -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Jervis Sent: Tuesday, November 28, 2006 11:42 AM To: nant-users@lists.sourc

Re: [NAnt-users] foreach task: Looping over file lines, property does not extend

2006-11-28 Thread Chris Lambrou
Remove the test from the do sub-element of the foreach task, and add it to the echo task. Alternatively, if you want to perform more than just one sub-task in the do element, place them inside an inner if task. Chris Like this: Or this:

[NAnt-users] foreach task: Looping over file lines, property does not extend

2006-11-28 Thread Michael Jervis
I want to loop for each line in a file that has been produced by a process and echo all lines with 'failed' in them to the email I'm sending to the developer list: However, on the if clause of the foreach, I get the error that the currentLine property is

Re: [NAnt-users] Mail Logger

2006-11-28 Thread Gert Driesen
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nant-users- > [EMAIL PROTECTED] On Behalf Of Michael Jervis > Sent: dinsdag 28 november 2006 17:16 > To: nant-users@lists.sourceforge.net > Subject: Re: [NAnt-users] Mail Logger > > Also, you must set sendusing to 2 for authenticatio

Re: [NAnt-users] Mail Logger

2006-11-28 Thread Michael Jervis
Also, you must set sendusing to 2 for authentication to work at all, and the if clause for the smtpPassword is reversed. My current hacked version is lacking the faulty #if's, but at least sends email...: string smtpUsername = GetPropertyValue(properties, "smtp.username", null, false);

Re: [NAnt-users] Mail Logger

2006-11-28 Thread Michael Jervis
Ask a stupid question, find an answer... #if (NET_1_1) mailMessage.Fields[cdoNamespaceURI + "smtpauthenticate"] = 1; mailMessage.Fields[cdoNamespaceURI + "sendusername"] = smtpUsername; #else Console.Error.WriteLine("[MailLogger] MailLogg

[NAnt-users] Mail Logger

2006-11-28 Thread Michael Jervis
Hi, I'm trying to get NAnt running for a nightly build at work. I've just downloaded 0.85 source, and compiled it myself, I've ended up with C:\Temp\nant-0.85-src\nant-0.85\build\net-2.0.win32\nant-0.85-debug\bin Which suggests to me that I've built it using .NET 2.0. It produced this too: C:\T

Re: [NAnt-users] running apache-ant through exec doesn't return fail status

2006-11-28 Thread Moshe Hajaj
Thanks Mike, it looks like the only way to solve this it's your way I tried also this code: and then but ${ant.exit.code} got value of 0 even if ant fails... btw, I'm using ant 1.7.0 (beta1), I think it's important enough to fix it before 1.7.0 goes official, isn't it!? any w

Re: [NAnt-users] running apache-ant through exec doesn't return fail status

2006-11-28 Thread Moshe Hajaj
Thanks Mike, it looks like the only way to solve this it's your way I tried also this code: and then but ${ant.exit.code} got value of 0 even if ant fails... btw, I'm using ant 1.7.0 (beta1), I think it's important enough to fix it before 1.7.0 goes official, isn't it!? any w

Re: [NAnt-users] running apache-ant through exec doesn't return fail status

2006-11-28 Thread Mike Roberts
I call ant.bat from CruiseControl.NET but I have the same problem The ant.bat script doesn't respect error codes properly. I edit mine and put the following line at the end: exit %ERRORLEVEL% The only problem with this is that if you run it from a normal command prompt it exits the command promp

[NAnt-users] running apache-ant through exec doesn't return fail status

2006-11-28 Thread Moshe Hajaj
I’m trying to combine a java build inside my existing NAnt/.NET nuild script. The problem is that executing Ant this way: is not causing the build to fail. Wrapping it with: …. doesn’t work eithe