[NAnt-users] p4 tasks in nant contrib

2008-10-16 Thread Jody Williams
I tried to use the p4change and p4edit tasks to create a new changelist and add items to it and these tasks seem to be broken. I found the description of the problem online, but no solution. There are several problems with the tasks. First a window is popped up with the changelist information in it

Re: [NAnt-users] xmlpeek - Multiple nodes found with the XPath expression

2008-10-16 Thread Brass Tilde
> I ran into this issue *so* many times that I obtained the task > and source from: > > http://weblogs.asp.net/soever/archive/2006/12/01/nant-xmllist-command-updated.aspx Snap! Thanks so much for that. That should go a long way towards solving my current PITA. Brad ---

[NAnt-users] xmlpeek - Multiple nodes found with the XPath expression

2008-10-16 Thread Mike Frederick
I ran into this issue *so* many times that I obtained the task and source from: http://weblogs.asp.net/soever/archive/2006/12/01/nant-xmllist-command-updated.aspx and modified the code so that if the final nodename specified is "*", all nodenames are returned in a comma-separated list. Then I

Re: [NAnt-users] xmlpeek - Multiple nodes found with theXPathexpression

2008-10-16 Thread Fabio Gil
Hi Bob and Steve, Thanks very much, I'll give it a try. Bob: reason for me to use XML file is that besides the name, I need to read some more properties that are client-dependent. Will advise how could I fix it. - Fabio On Thu, Oct 16, 2008 at 12:34 PM, Bob Archer <[EMAIL PROTECTED]> wrote: >

Re: [NAnt-users] xmlpeek - Multiple nodes found with theXPathexpression

2008-10-16 Thread Bob Archer
Could you loop around the command updating the index until no return value was found? Something like: Of course, you are limited to listing enough index values. Is it possible you could just put a list of clients in a text file, and loop through that? Another option is

Re: [NAnt-users] xmlpeek - Multiple nodes found with the XPathexpression

2008-10-16 Thread Steve Kapinos
You need to use the nodeindex parameter of xmlpeek to control which instance you are returning. However, I’m not quite sure how you’d find out how many instances there are to loop through dynamically. Maybe some if condition on the returned value and a loop of sorts -Steve From: Fabio

Re: [NAnt-users] summary of nant lessons learned, and some examples

2008-10-16 Thread Steve Kapinos
Yes, our application includes a database, windows services, IIS configurations, and other things.. so rather then having the build system do all this work manually and try to maintain it as things changed between versions, we chose to do the work once in the installer and let it do all the legwork.

[NAnt-users] xmlpeek - Multiple nodes found with the XPath expression

2008-10-16 Thread Fabio Gil
Hello, I'm spinning my wheels with this issue and don't know how to solve it. I have an XML file that contains the name of the client I will build my app for. This is an excerpt of the XML file: client1 ...

Re: [NAnt-users] summary of nant lessons learned, and some examples

2008-10-16 Thread Bob Archer
Ok thanks. I see what you are doing now... you are running the install rather than building it. I actually plan to start doing this soon rather than the current copy files deploy that we are doing to our QA servers. However, I am looking at using rake rather than Nant. I know, heresy. BOb -O

Re: [NAnt-users] summary of nant lessons learned, and some examples

2008-10-16 Thread Steve Kapinos
I have to run the nant script on a remote computer from where the software is being installed because of required reboots.. so I can't use exec to directly launch the installer... that really complicates life :) The build script for that project looks like this

Re: [NAnt-users] summary of nant lessons learned, and some examples

2008-10-16 Thread Bob Archer
Nice info. Thanks. Although, so you not use the Install Shield stand alone builder? Because it does return error codes to the exec task just fine. BOb -Original Message- From: Steve Kapinos [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 15, 2008 10:14 PM To: nant-users@lists.sourc