Re: [NAnt-users] Help copying a folder structure

2012-05-31 Thread Chris Fouts
Thanks! From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Thursday, May 31, 2012 9:44 AM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: Help copying a folder structure If you want to go FROM src TO dest, it looks like you have your code backwards... shouldn't

Re: [NAnt-users] Help copying a folder structure

2012-05-30 Thread Chris Fouts
This way... From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Wednesday, May 30, 2012 3:13 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Help copying a folder structure I looked at this http://nant.sourceforge.net/nightly/latest/help/tasks/copy.html, and

[NAnt-users] Help copying a folder structure

2012-05-30 Thread Chris Fouts
I looked at this http://nant.sourceforge.net/nightly/latest/help/tasks/copy.html, and googled some. I want to copy files from ${srcDir} to ${destDir} and preserve the directory struncture. I tried this, but the directory structure is NOT preserved in ${destDir}. Any clues?

Re: [NAnt-users] Coordinating file access

2012-04-24 Thread Chris Fouts
I ended up copying the file to a file.lck (added a .lck file extension), and check for the existence of this file extension. -chris From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Tuesday, April 24, 2012 3:24 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Coordinating

[NAnt-users] Coordinating file access

2012-04-24 Thread Chris Fouts
I'm trying to set up N test machines to read/modify/write a file on yet another machine (build machine). Any Nant tips and tricks to coordinate such file access so only one test machine accesses the file? For example, does Nant have file locks/unlock tasks? -chris ***This e-mail message is i

Re: [NAnt-users] xmlpeek and multiple nodes

2012-04-20 Thread Chris Fouts
Silly me. This works for xmlpeek, but I can't xmlpoke on a nodeindex. Duh Backtrack -chris From: Chris Fouts Sent: Friday, April 20, 2012 11:18 AM To: nant-users@lists.sourceforge.net Subject: RE: xmlpeek and multiple nodes Ok, here's my workaround to parse this xml file, an

Re: [NAnt-users] xmlpeek and multiple nodes

2012-04-20 Thread Chris Fouts
no name is ${name} testRunStatus is ${testRunStatus} mailto:bob.arc...@amsi.com] Sent: Friday, April 20, 2012 11:05 AM To: Chris Fouts; nant-users@lists.sourceforge.net Subjec

Re: [NAnt-users] String to int

2012-04-20 Thread Chris Fouts
Sorry, I see it now, it's int::parse(SomeString) From: Chris Fouts Sent: Friday, April 20, 2012 10:53 AM To: nant-users@lists.sourceforge.net Subject: String to int I'm using the convert::to-int function to convert a string property into an int so I can increment it. However I get th

[NAnt-users] String to int

2012-04-20 Thread Chris Fouts
I'm using the convert::to-int function to convert a string property into an int so I can increment it. However I get this (albeit just) warning. Function convert::to-int is deprecated. Use type-specific conversion functions instead. I don't see a string type-specific conversion here. http://na

Re: [NAnt-users] xmlpeek and multiple nodes

2012-04-20 Thread Chris Fouts
So no canned support for this? -chris From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Friday, April 20, 2012 9:59 AM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: xmlpeek and multiple nodes In other words, if you can't get to a specific node with an XPath expression

Re: [NAnt-users] xmlpeek and multiple nodes

2012-04-20 Thread Chris Fouts
If I can find out how to loop through them all, I can do the rest. From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Friday, April 20, 2012 9:54 AM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: xmlpeek and multiple nodes But, is there something unique in the node that you want

Re: [NAnt-users] xmlpeek and multiple nodes

2012-04-20 Thread Chris Fouts
That's all I want to do, find a node and update it. From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Friday, April 20, 2012 9:36 AM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: xmlpeek and multiple nodes For more than a simple find a node and update it I would recommen

[NAnt-users] xmlpeek and multiple nodes

2012-04-20 Thread Chris Fouts
How can I use xmlpeek/xmlpoke to recursively peruse all the similarly named nodes in a file, the the node below. ... ... ... This didn't help, http://nant.sourceforge.net/release/0.85/help/tasks/xmlpeek.html And I found this http://old.nabble.com/xmlpeek---Multiple-nodes-found-with

Re: [NAnt-users] Nant property passed to CC.NET for pass/fail condition?

2012-03-19 Thread Chris Fouts
To further explain, here's how I call my evaluate and call my target The project1_ok and project2_ok are bools that are set CORRECTLY by evaluating resultproperty values earlier in script. From: Chris Fouts [mailto:chr

Re: [NAnt-users] Nant property passed to CC.NET for pass/fail condition?

2012-03-19 Thread Chris Fouts
SUCCEEDED"? -chris From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Wednesday, February 29, 2012 3:15 PM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Nant property passed to CC.NET for pass/fail condition? Thanks Adam and Bob. From: Adam Bruss [mailto:abr...@aw

Re: [NAnt-users] Nant property passed to CC.NET for pass/fail condition?

2012-02-29 Thread Chris Fouts
Senior Development Engineer AWR Corporation 11520 N. Port Washington Rd., Suite 201 Mequon, WI 53092 USA P: 1.262.240.0291 x104 F: 1.262.240.0294 E: abr...@awrcorp.com W: http://www.awrcorp.com<http://www.awrcorp.com/> From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Wednesday, Febru

Re: [NAnt-users] Nant property passed to CC.NET for pass/fail condition?

2012-02-29 Thread Chris Fouts
if either project1_ok or project2_ok is false, I want ccnet to report a failure. Make sense? -chris From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Wednesday, February 29, 2012 11:51 AM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: Nant property passed to CC.NET for pass

[NAnt-users] Nant property passed to CC.NET for pass/fail condition?

2012-02-29 Thread Chris Fouts
What is the nant property that is set for CC.NET to report a pass/fail condition? I assume I can modify this property? Is it nant.onfailure? Thanks! -chris ***This e-mail message is intended only for the above named recipient(s) and may contain information that is sensitive or proprietary. If

Re: [NAnt-users] How to suppress errors?

2012-02-23 Thread Chris Fouts
Ok thanks! From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Thursday, February 23, 2012 9:46 AM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: How to suppress errors? I think the best/only way you can do this is to create a batch file to do the disconnect and have it always

[NAnt-users] How to suppress errors?

2012-02-23 Thread Chris Fouts
One of the things I do in my script is to disconnect a network drive, regardless is it's connected or not, and of course if it's not already connected I get an error. I ignore the error via failonerror=false, but I want to go one step further and suppress the error generated. ***This e-mail m

Re: [NAnt-users] non-readonly properties

2012-02-22 Thread Chris Fouts
Thanks, I was actually setting the arguments in CCNET, via From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Wednesday, February 22, 2012 1:25 PM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: non-readonly properties Properties set on the command line are always read-only. If

[NAnt-users] non-readonly properties

2012-02-22 Thread Chris Fouts
I have the following properties defined in mynant.build file But when I run script where I override the defined properties, e.g., C:\> nant mynant.build -D:enable_project1_build="false" I get... Read-only property "enable_project1_build" cannot b

[NAnt-users] Help with resultproperty please

2012-02-21 Thread Chris Fouts
I'm aware of this feature However, I want to do this... That is, buildmodule needs a lot of buildmoduleN's (two in the example, but can be more). I do NOT want the build to stop if one of the buildmoduleN's fails (hence, failonerror="false") but I want module_ok to evaluate false if at

Re: [NAnt-users] How to setup two projects with a subset of common files?

2012-01-17 Thread Chris Fouts
Thanks! From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Friday, January 06, 2012 10:17 AM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: [NAnt-users] How to setup two projects with a subset of common files? Don't you want a build of common to trigger a build of Project

Re: [NAnt-users] How to setup two projects with a subset of common files?

2012-01-05 Thread Chris Fouts
does that imply a serial build or parallel build? -chris From: Philip Sayers [mailto:p...@cds-am.net] Sent: Thursday, January 05, 2012 1:36 PM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: [NAnt-users] How to setup two projects with a subset of common files? Easiest way to ge

Re: [NAnt-users] How to setup two projects with a subset of common files?

2012-01-05 Thread Chris Fouts
I found the answer to my own question, and it's Yes. From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Thursday, January 05, 2012 2:08 PM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] How to setup two projects with a subset of common files? Will this show BOTH pro

Re: [NAnt-users] How to setup two projects with a subset of common files?

2012-01-05 Thread Chris Fouts
Will this show BOTH projects in the ccnet web dashboard? From: Philip Sayers [mailto:p...@cds-am.net] Sent: Thursday, January 05, 2012 1:36 PM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: [NAnt-users] How to setup two projects with a subset of common files? Easiest way to get

Re: [NAnt-users] How to setup two projects with a subset of common files?

2012-01-05 Thread Chris Fouts
Thanks to all the replies. I just started looking at queues indeed. From: Brendan CM [mailto:veri...@gmail.com] Sent: Thursday, January 05, 2012 1:36 PM To: Chris Fouts Cc: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] How to setup two projects with a subset of common files? The

[NAnt-users] How to setup two projects with a subset of common files?

2012-01-05 Thread Chris Fouts
I posted this in the ccnet-users Google group, but I thought I'd post this too hoping I'm not alone in using ccnet+nant environment, and not the first one to try this. I use CC.NET v1.6.7981.1 and Nant v0.91. I trigger the builds via CC.NET but do the bulk of the work in Nant - no surprise here

Re: [NAnt-users] Need help with a NAnt internal error

2011-11-03 Thread Chris Fouts
Can you mimic how your GUIs (run button) call the Nant processes, and start off Nant from a command line window the way they do? Or if you have the code that starts the console window, put a cin <<; statement, which will freeze the window until you hit in it. -chris From: Macdiarmid, James D.

Re: [NAnt-users] Help with testing strings

2011-11-03 Thread Chris Fouts
Thanks. I tried this yesterday but put the "" and {} in the wrong place. Duh on me. From: Christopher Brandt [mailto:xtopher.bra...@gmail.com] Sent: Wednesday, November 02, 2011 5:26 PM To: Chris Fouts Cc: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Help with testi

Re: [NAnt-users] Help with testing strings

2011-11-02 Thread Chris Fouts
Sorry, CCNetBuildCondition --- I'm using ccnet and Nant, not a unique situation. How can I test the passed-in CCNetBuildModification string in Nant so I can do the following pseudo-code If "${CCNetBuildModification} == "ForceBuild" Else

[NAnt-users] Help with testing strings

2011-11-02 Thread Chris Fouts
I'm using ccnet and Nant, not a unique situation. How can I test the passed-in CCNetBuildModification string in Nant so I can do the following pseudo-code If "${CCNetBuildModification} == "ForceBuild" Else -chris ***This e-mail message is intended only for the above named recipient

Re: [NAnt-users] Nant hookup up with CxxTest or CppUnit

2011-10-05 Thread Chris Fouts
Thanks! I'm using CxxTest, not CppUnit, but your example will work since I have a *.exe file to run. I'll have to look further what resultproperty and how I can fit it in my environment. -chris From: Adam Bruss [mailto:abr...@awrcorp.com] Sent: 2011-10-05 17:14 To: Chris Fouts;

Re: [NAnt-users] Nant hookup up with CxxTest or CppUnit

2011-10-05 Thread Chris Fouts
s] FW: Nant hookup up with CxxTest or CppUnit From: Adam Bruss Sent: Friday, September 30, 2011 3:52 PM To: 'Chris Fouts' Subject: RE: Nant hookup up with CxxTest or CppUnit We have nant run our executable with a certain flag which tells it to run the unittests and write the results to an

[NAnt-users] Nant hookup up with CxxTest or CppUnit

2011-09-30 Thread Chris Fouts
Can someone please point me to an example how Nant can start a test suite using CxxTest or CppUnit? I just want to know how Nant gets its feedback from those systems. ...or any testing suite really. -chris ***This e-mail message is intended only for the above named recipient(s) and may contai

Re: [NAnt-users] Good Nant book for beginner

2011-08-31 Thread Chris Fouts
Expert .NET Delivery (Using Nant and CruiseControl.NET) by Marc Holmes From: Niranjan Bansal [mailto:bansalniran...@gmail.com] Sent: 2011-08-31 12:22 To: Scott Pennington Cc: nant-users@lists.sourceforge.net Subject: [NAnt-users] Good Nant book for beginner Hi, Can anyone recommend good book

Re: [NAnt-users] Calling a dependency twice?

2011-06-21 Thread Chris Fouts
just want to use the call task. Brian Wilson Department of Human Resources Email: brian.wil...@dhr.alabama.gov<mailto:brian.wil...@dhr.alabama.gov> From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Tuesday, June 21, 2011 11:13 AM To: nant-users@lists.sourceforge.net Subject

Re: [NAnt-users] Calling a dependency twice?

2011-06-21 Thread Chris Fouts
target gets executed only once, even when more than one target depends on it Brian Wilson Department of Human Resources Email: brian.wil...@dhr.alabama.gov<mailto:brian.wil...@dhr.alabama.gov> From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Tuesday, June 21, 2011 9:58 AM To: nant

[NAnt-users] Calling a dependency twice?

2011-06-21 Thread Chris Fouts
Nant version 0.91, Build 0.91.3081.0 For some reason, I'm not able to call a "depends" target twice. Here's what I mean. Say I have http://p.sf.net/sfu/ephox-dev2dev___ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.

Re: [NAnt-users] question

2011-06-16 Thread Chris Fouts
Thanks for checking. I'll have to do it via CCNET then, since its target accepts credentials. -chris From: Wilson, Brian [mailto:brian.wil...@dhr.alabama.gov] Sent: Thursday, June 16, 2011 1:03 PM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: question It appears the ba

Re: [NAnt-users] question

2011-06-16 Thread Chris Fouts
16, 2011 12:00 PM To: Chris Fouts Subject: RE: question I apologize, I was assuming you were using exchange. Please disregard. Brian Wilson Department of Human Resources Email: brian.wil...@dhr.alabama.gov<mailto:brian.wil...@dhr.alabama.gov> From: Wilson, Brian Sent: Thursday, June 16

[NAnt-users] question

2011-06-16 Thread Chris Fouts
I want to test the target, but I need to provide a username/pw to our mail server and the target does not have provisions for this, at least not described here http://nant.sourceforge.net/release/0.85-rc2/help/tasks/mail.html. How do I send emails then? -chris ***This e-mail message is in

Re: [NAnt-users] Solution format of file is not supported.

2011-05-26 Thread Chris Fouts
Try "Debug" instead of "debug," like this... From: Jed Padilla [mailto:jpadi...@flclerks.com] Sent: Thursday, May 26, 2011 4:01 PM To: Chris Fouts; 'Br

Re: [NAnt-users] Solution format of file is not supported.

2011-05-26 Thread Chris Fouts
The installation instruction for nantcontrib say to copy the \bin files in the \bin folder. Did you do that? -chris From: Jed Padilla [mailto:jpadi...@flclerks.com] Sent: Thursday, May 26, 2011 3:49 PM To: 'Brass Tilde' Cc: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Solution form

Re: [NAnt-users] Solution format of file is not supported.

2011-05-26 Thread Chris Fouts
The target is buggy, and I've never been able to make it work. I just use the devenv.com command line. From: Jed Padilla [mailto:jpadi...@flclerks.com] Sent: Thursday, May 26, 2011 2:23 PM To: nant-users@lists.sour

[NAnt-users] nant -projecthelp question

2011-05-20 Thread Chris Fouts
When running the nant -projecthelp command, the docs say that targets with descriptions are grouped as main targets, while targets without descriptions are grouped as sub targets. However, I have targets with description on them that are included in the sub targets instead of main targets. Any c

Re: [NAnt-users] Is there a template/example for this setup?

2011-05-13 Thread Chris Fouts
Ah, I didn't know about , thanks!!! -chris From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Friday, May 13, 2011 2:38 PM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: Is there a template/example for this setup? Its really as simple as comparing the current binary t

Re: [NAnt-users] Is there a template/example for this setup?

2011-05-13 Thread Chris Fouts
ile contents? I looked at the element and it did not seem to support this. -chris From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Friday, May 13, 2011 12:41 PM To: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Is there a template/example for this setup? Thanks, but I don&

Re: [NAnt-users] Is there a template/example for this setup?

2011-05-13 Thread Chris Fouts
: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Friday, May 13, 2011 9:37 AM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: Is there a template/example for this setup? CI Factory's scripts do this. IIRC he creates a text file with any changed files to determine if the project n

[NAnt-users] Is there a template/example for this setup?

2011-05-13 Thread Chris Fouts
This is a common architecture so I'm hoping someone's done this before. Say I have a Windows project with 2 components, each component in its on directory, like so: ProjectA Component1 File1.h File1.cpp File1.sln Component2 File2.h File2.cpp File2.sln I

Re: [NAnt-users] (no subject)

2011-05-11 Thread Chris Fouts
$(pw) -Original Message----- From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Wednesday, May 11, 2011 10:37 AM To: Adam Br

Re: [NAnt-users] (no subject)

2011-05-11 Thread Chris Fouts
No ccnet does not send a "build failed" email when nant calls ; hence I posted the question. I'm not sure I set this part up correctly. -Original Message- From: Adam Bruss [mailto:abr...@awrcorp.com] Sent: Tuesday, May 10, 2011 10:35 PM To: Chris Fouts; nant-users@lists.

Re: [NAnt-users] (no subject)

2011-05-10 Thread Chris Fouts
cript, and if the build fails in the NAnt script, it just calls the block of the NAnt script, and stops. From: Adam Bruss [abr...@awrcorp.com] Sent: Tuesday, May 10, 2011 8:02 PM To: Chris Fouts; nant-users@lists.sourceforge.net Subject: RE: [NAnt-users

[NAnt-users] (no subject)

2011-05-10 Thread Chris Fouts
I've started using ccnet with NAnt, where my ccnet script calls a NAnt script to do the actual build. However, I want ccnet to send an e-mail, not nant, when a script fails. I have a ccnet block that I want executed that sends the e-mail. -chris ***This e-mail message is intended only for t

Re: [NAnt-users] Help recursively setting readonly attribute

2011-05-05 Thread Chris Fouts
I did NOT want the files to be read only, hence "false." I should've said "I wanted to set the read only attribute to false." -chris From: Bob Archer [mailto:bob.arc...@amsi.com] Sent: Thursday, May 05, 2011 9:59 AM To: Chris Fouts; nant-users@lists.sourceforge.net Subj

Re: [NAnt-users] Help recursively setting readonly attribute

2011-05-05 Thread Chris Fouts
Message- From: Wilson, Brian [mailto:brian.wil...@dhr.alabama.gov] Sent: Thursday, May 05, 2011 9:29 AM To: Chris Fouts Subject: RE: Help recursively setting readonly attribute I tried all kinds of options, for the attrib tag and could not get it to work. I can use a fileset on other tags, like

[NAnt-users] Help recursively setting readonly attribute

2011-05-04 Thread Chris Fouts
I thought I had this, but apparently not, since I can't overwrite files in them. I run as Administrator so I have permission to do this. I want to set the read-only attribute for all files and subdirs under the two directories

Re: [NAnt-users] Help with exception

2011-05-03 Thread Chris Fouts
Unlocking the zip file did the trick, even unpacking it in C:\Program Files\NAnt. Thanks all! -chris From: Daniel Nauck [mailto:daniel.na...@gmail.com] Sent: Tuesday, May 03, 2011 1:33 PM To: Chris Fouts Cc: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Help with exception Try to

Re: [NAnt-users] Help with exception

2011-05-03 Thread Chris Fouts
: Tuesday, May 03, 2011 12:27 PM To: Chris Fouts Cc: nant-users@lists.sourceforge.net Subject: Re: [NAnt-users] Help with exception Known issue unfortunately. It's related to the new security model in .net 4, which I have been unable to reproduce on three different machines. This is the

Re: [NAnt-users] Help with exception

2011-05-03 Thread Chris Fouts
I have MS .NET framework 4.0 From: Chris Fouts [mailto:chris.fo...@caemilusa.com] Sent: Tuesday, May 03, 2011 12:00 PM To: nant-users@lists.sourceforge.net Subject: [NAnt-users] Help with exception I just installed NAnt on my XP-based company laptop. When I run it I get the following. Any help

[NAnt-users] Help with exception

2011-05-03 Thread Chris Fouts
I just installed NAnt on my XP-based company laptop. When I run it I get the following. Any help? I have v0.91-alpah2 (latest from Sourceforge). Unhandled Exception: System.TypeInitializationException: The type initializer fo r 'NAnt.Console.ConsoleStub' threw an exception. ---> System.Security.S

[NAnt-users] Help with

2011-04-29 Thread Chris Fouts
How can I "" as part of my in an ? For example..