Re: [Nant-users] dynamic properties and functions

2004-09-15 Thread Gert Driesen
Nick, The "if" condition is evaluated, not the value of the property. Gert - Original Message - From: "Nick Zigomanis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 16, 2004 7:06 AM Subject: [Nant-users] dynamic properties and functions Hi all, I'm trying to set d

[Nant-users] dynamic properties and functions

2004-09-15 Thread Nick Zigomanis
Hi all,   I’m trying to set dynamic properties in my build file as shown below:   name="idl.out.dir" value="${bin.root}\Common" dynamic="true" if="${string::contains(this.idl, 'Source\Common'}" /> name="idl.out.dir" value="${bin.root}\Data" dynamic="true" if="${string::contains(this.

[Nant-users] directory structure question.

2004-09-15 Thread Burton, Kevin
I have a slightly complicated question regarding copy. I have a structure like: A a c cc d dd b e f B a g gg h hh b i j So 'a' is a subdirectory of 'A' and 'b' is a sub directory of 'A' also. This basic structure is repe

[Nant-users] Problems with CruiseControl.NET detecting C++ code changes

2004-09-15 Thread John Debay
Hi, I am using CruiseControl.NET to get the latest version of my C++ project and build it with NAnt. Right now, my project is a simple "Hello, world" application. The build process works fine, except for the fact that my code is not actually recompiled. The object files of my program currently hav

RE: [Nant-users] NAnt Writing NAnt--How?

2004-09-15 Thread Castro, Edwin Gabriel (Firing Systems Engr.)
I have a similar need. I need to filter out NAnt output after the build is complete. I would like to specify a regular expression and remove any xml nodes in the Nant output whose content matches the regular expression. In particular I'd like to ignore warnings that references Microsoft Visual C++

RE: [Nant-users] IntelliSense for NAnt build files

2004-09-15 Thread Matt Hulse
I read a lot about “IntelliSense” and have followed the instructions posted in this forum to attempt to use VS.Net 2003 with IntelliSense for editing .build files.  I am confused though about how it should work.  When the word IntelliSense is used, I am expecting more than syntax highlighti

Re: [Nant-users] NAnt Writing NAnt--How?

2004-09-15 Thread Ian MacLean
Merrill Cornish wrote: Felice, I'll have to admit that I've never understood what a filterchain is or what it is used for. a filter chain is basically for replacing specified tokens in a file. I'm not sure exactly what needs to be in the script you are generating but I would consider xslt as o

Re: [Nant-users] nant mail task error - transport error code-0x80040217

2004-09-15 Thread Gert Driesen
Ankita, The task uses System.Web.Mail to send the smtp message, and there's no support for authentication there. The does not support a "user" or "password" attribute. The 0.85 nightly builds will report that. Gert - Original Message - From: "Ankita Kapadia" <[EMAIL PROTECTED]> To: <

RE: [SPAM] - RE: [Nant-users] NAnt Writing NAnt--How? - Email found in subject

2004-09-15 Thread Felice Vittoria
Merrill, First .. here's the info: http://nant.sourceforge.net/nightly/help/types/filterchain.html Second .. I guess one example of usage would be a search and replace kinda thing. Here's how I used it: What this did for me was to replace all occurrences

RE: [Nant-users] NAnt Writing NAnt--How?

2004-09-15 Thread Merrill Cornish
Felice, I'll have to admit that I've never understood what a filterchain is or what it is used for. Merrill --- This SF.Net email is sponsored by: thawte's Crypto Challenge Vl Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam Camc

RE: [Nant-users] NAnt Writing NAnt--How?

2004-09-15 Thread Felice Vittoria
Merrill, Assuming you are using Nant 0.85, I guess one possible solution is that you create a template of what the second Nant script should look like. Then, use the filterchain task to "fill-in" the values you need in that template. Felice -Original Message- From: [EMAIL PROTECTED]

RE: [Nant-users] IntelliSense for NAnt build files

2004-09-15 Thread McCullough, Gary
The article says you need to make registry edits, but I have not found that necessary.   Also, if you have custom tasks, you can use the nantschema task to generate a custom nant xsd and use that instead of nant’s default xsd.   Gary McCullough  From: [EMAIL PROTECTED

[Nant-users] NAnt Writing NAnt--How?

2004-09-15 Thread Merrill Cornish
We have a need to create a NAnt script whose job it is to take certain information and write a second NAnt script with some of that information from the first script embedded into the second one. We can use elements and have them append to a file. That can create the NAnt file, but * all of

RE: [Nant-users] How to get the log of a task in a txt file

2004-09-15 Thread Miller Jr., William J. \(BIT\)
Ankita, I use the task under NAntContrib which writes the log into a *.txt file. I'm not familiar with Ant but this should be what you're looking for. Here is the line from my project if that helps: Remember to close the file when you're completely done writing to it. Here's the link to th

RE: [Nant-users] finding subfolders

2004-09-15 Thread Felice Vittoria
Yes,   You can do a foreach and then display the folder names ... like this:       Here's more info: http://nant.sourceforge.net/nightly/help/tasks/foreach.html   HTH, Felice -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Vladimir Knezevic

[Nant-users] RE: Nant-users digest, Vol 1 #1111 - 15 msgs

2004-09-15 Thread Ivan Pavlović
Hi Vladimir, You can use task from nant-contrib task library. Ivan Pavlović Hive Studios d.o.o. Hilandarska 32/4 11000 Belgrade Serbia And Montenegro phone: +381 (11) 32 46 194 fax:+381 (11) 32 42 152 Message: 1 Date: Tue, 14 Sep 2004 15:08:33 +0200 From: "Vladimir Knezevic" <[E

[Nant-users] finding subfolders

2004-09-15 Thread Vladimir Knezevic
Hi!   Is there a way to find subfolders (at least their names) for a specific folder?   Thanks,     Vladimir

[Nant-users] nant mail task error - transport error code-0x80040217

2004-09-15 Thread Ankita Kapadia
I am using nant to do a daily build My smtp server has authentication enabled So I used "user" and "password" attributes in the mail task like in Ant:- ** Completed Pines Build Build Status