[NAnt-users] NAnt vs. Ant little difference

2006-07-22 Thread Adrian Dębowski
Hi, I was Ant user and recently switched do NAnt. I wish to ask if some little diffcence between them I have observed, is a feature, bug or simple my mistake. I used to write some global parameters () in root build file: and then

Re: [NAnt-users] How do you detect if a property has not been defined?

2006-07-22 Thread Noel Gifford
You need to include XYZ in single quotes because you want to pass the string to the property::exists method and not evaluate the XYZ property.   Try:     Noel From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Frederick Sent: Friday, July 21, 2006 2:00 PM

Re: [NAnt-users] Strange error with C# properties

2006-07-22 Thread Gert Driesen
Hi Andy, I think I may have a fix for your problem, but I need to test it a little further. Can you submit a (detailed) bug report for this issue ? Thanks ! Gert > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Andy Duan Nguyen > Sent: donder

Re: [NAnt-users] Strange error with C# properties

2006-07-22 Thread Gert Driesen
Andy, Thanks for the additional info, I'll try to look into it tomorrow. Gert > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Andy Duan Nguyen > Sent: donderdag 20 juli 2006 22:19 > To: Gert Driesen; nant-users@lists.sourceforge.net > Subject:

[NAnt-users] solution > project > exclude

2006-07-22 Thread Steve Whitley
I have a solution that I need to build that contains web projects. I've excluded them by doing the following: but when I run it it complains about not having the webmap stuff... do I still need to provide mappings if I plan on skipping those projects? ---

[NAnt-users] How do you detect if a property has not been defined?

2006-07-22 Thread Michael Frederick
Uh, I'm a little lost here.  Sorry, beginner question.   I want to detect if a property has/has not been defined and do conditional processing based on whether or not the property exists.  I thought I should do:       And then I run it:   C:\build\BuildIt>nant -f:prop.buildNAnt 0.85 (Build

[NAnt-users] VC++ Project winth nant...Urgent help needed

2006-07-22 Thread jigar shah
I have a VS 2003 solution which has a VC++ Project in that. What all things i need to run application using nant? Particularly when i give options in and try to compile with verbose"true". It doesn't show any error. I tried to compile using command line but tht gives me errors in standard head

[NAnt-users] Output redirect problem

2006-07-22 Thread Cong
Hi,I have a output redirect problem in NAnt.I defined a custom NAnt task. Inside it, I have the following code:   TextWriter standardOut = Console.Out;   TextWriter standerdError = Console.Error;   int exitValue;   using (TextWriter newOutWriter = File.CreateText(ou

Re: [NAnt-users] Can't use pipe (|) within exec

2006-07-22 Thread si
Hi Erin, It's do-able, just a little painful, but I think Martin was on the right track. For example, here's what I do to call the Subversion svnadmin program to dump a repository, redirecting stdout. Works on Windows and Linux: ...

Re: [NAnt-users] Can't use pipe (|) within exec

2006-07-22 Thread Gary Feldman
Robert Smith wrote: > Instead of trying to pipe, would something like this work (with regard > to the structure of teh exec task) with each of the aruments as an arg > value? > > output="${logfile}" verbose="true" > > > >

Re: [NAnt-users] Can't use pipe (|) within exec

2006-07-22 Thread Gary Feldman
Girardelli, Erin E wrote: > Hi, > > When I try to use a pipe or redirecting arrow in the exec task, I get a > failure saying the program I executed has the wrong number of arguments. > Here's what it looks like within my script: > > > To understand this, you first need to understand that

[NAnt-users] How do you detect if a property has not been defined?

2006-07-22 Thread Michael Frederick
Uh, I'm a little lost here.  Sorry, beginner question.   I want to detect if a property has/has not been defined and do conditional processing based on whether or not the property exists.  I thought I should do:       And then I run it:   C:\build\BuildIt>nant -f:prop.buildNAnt 0.85 (Build

Re: [NAnt-users] How to exit a foreach loop

2006-07-22 Thread Michael Craig
Since nobody has answered me on this I've decided to get creative. I'm currently testing this idea, but it seems to work for me.   Basically, I set a property within the loop. Once the condition is met where a I want to exit the loop (ie a build is needed), I set the value of ${build.needed} to t