Re: [NAnt-users] any way to tell how many files in a ?

2007-02-03 Thread Michael Frederick
http://nantcontrib.sourceforge.net/release/latest/help/functions/fileset.get-file-count.html -Original Message- From: [EMAIL PROTECTED] on behalf of Mark Modrall Sent: Sat 2/3/2007 2:54 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] any way to tell how many files in a ? A

Re: [NAnt-users] any break from for loop?

2007-02-03 Thread Michael Frederick
We have written a small C# "script" that waits for a set of files to appear. It has a polling interval for checking the files, and a timeout value for a "give-up" condition. Its not tightly-integrated into NAnt, but it works. -Original Message- From: [EMAIL PROTECTED] on behalf of Mar

[NAnt-users] Filesets are not quite like properties?

2006-12-04 Thread Michael Frederick
All, Are filesets different than properties? I have many cases where I have written a NAnt "subroutine" by creating a separate buildfile with a standard set of "parameters" (properties) and then call the buildfile. As I stated, I use properties to hand-in values. Now I am working on writing a

Re: [NAnt-users] Does NAnt have a "while" capability?

2006-11-15 Thread Michael Frederick
is a good idea. From: Bob Archer [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 15, 2006 12:13 PM To: Michael Frederick; nant-users@lists.sourceforge.net Subject: RE: [NAnt-users] Does NAnt have a "while" capability? Can't cruise control do this for you by setting up

[NAnt-users] Does NAnt have a "while" capability?

2006-11-15 Thread Michael Frederick
I need a NAnt project to do some work and then wait for some event to occur, such as a specific file in a specific directory to appear. To do this I will need some sort of "while (file-exists != "true")" capability. This means I would need 2 capabilities; a "sleep" taks (which is present) and a l

[NAnt-users] How to create separate logs for output

2006-10-05 Thread Michael Frederick
Hello,   I need a little help.  We use CruiseControl.NET to drive a project that includes a NAnt task which internally drives a MSBuild task.  I would like to have the MSBuild output logged separately; then I will have CruiseControl.NET pull it all back together.  This should allow me to hav

Re: [NAnt-users] Calling other Nant build projects from withinacurrently running Nant build question?

2006-09-29 Thread Michael Frederick
Title: Message I do InstallShield with a batch file.  I the batch file:     Perform InstallShield packaging program="cmd.exe"   commandline="/c ISBuild.bat ${IS.ProjectPath} ${Build.FullVersion}"   failonerror="false"   resultproperty="IS.Result"  /> The batch file ISBuild.bat does 2 ma

Re: [NAnt-users] Calling other Nant build projects from within acurrently running Nant build question?

2006-09-29 Thread Michael Frederick
Title: Message I'd like to broaden his request a bit.  One of the things I'm going to need to do is to take segments of a NAnt-directed build and break the output into separately viewable areas of the dashboard.   For example, my code monkeys only really care about seeing the output from MSB

[NAnt-users] How to NOT display output from an task

2006-09-22 Thread Michael Frederick
I have an task which produces output that I want to capture in a file, but not have present in the NAnt output.  No matter what combination of settings I have tried I cannot seem to produce this result.  Here's the original project file:                                    program="$

[NAnt-users] Excluding files with a specific path element

2006-09-08 Thread Michael Frederick
Hello,   I thought I was following the examples pretty well, but I can't seem to get a small NAnt build file to enumerate all files in a folder tree *except* ones that have a specific path element.  I have a folder tree that I know has a folder named "_sgbak" in it and I want the names of al

[NAnt-users] Version number formatting

2006-08-18 Thread Michael Frederick
Hello,   One of the myraid of version number formats that must be accomidated is the DWord format.  This is a 32-bit unsigned value, with each byte getting one of the fields of a full version string, e.g., version 3.5.100.7 in DWord version format would be 0x03056407...   03 = 3 = major ver

Re: [NAnt-users] How about a clean and rebuild operation on the task

2006-08-04 Thread Michael Frederick
Even better might be: Unless you need to do something in between...Like the way the task works with targets. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get

[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] 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] Do you use includes?

2006-07-19 Thread Michael Frederick
I'm working on converting some projects to using Nant for the build infrastructure. It struck me that I should create a main structure and then use s to pull in the XML for each major step. This way I could: 1) isolate the XML into discrete files. 2) re-use these files across products. 3) becaus