Re: [NAnt-users] xmlpoke vs token replace for Config Files

2011-08-29 Thread Bob Archer
The whole point of it is that it is not XSLT. It is a much simpler method of add/edit/changing items and an XML config file. If you build a new Web Application in VS 2010 targeting .Net 4.0 and look at the web.config.debug/release files you see it is pretty simple to set up. Of course, as someo

Re: [NAnt-users] xmlpoke vs token replace for Config Files

2011-08-29 Thread Scott Pennington
Bob, I have used XSLT extensively in the past. I am the only one here that has though. I was hoping to keep it all within the NAnt paradigm. I agree, this methodology has a lot of power. I don't thing I need to add this much complexity to the build system for this application. Thanks

Re: [NAnt-users] xmlpoke vs token replace for Config Files

2011-08-29 Thread Wilson, Brian
You are welcome, we are working on getting TFS2010 up and running, so I shouldn't have to worry about this as much. Hopefully. Brian Wilson Programmer Analyst, Associate Department of Human Resources Email: brian.wil...@dhr.alabama.gov From: Scott Penningt

Re: [NAnt-users] xmlpoke vs token replace for Config Files

2011-08-29 Thread Wilson, Brian
I do believe that only works for Windows applications, not web applications, but I could be wrong. Brian Wilson Programmer Analyst, Associate Department of Human Resources Email: brian.wil...@dhr.alabama.gov From: Bob Archer [mailto:bob.arc...@amsi.com] Sen

Re: [NAnt-users] xmlpoke vs token replace for Config Files

2011-08-29 Thread Scott Pennington
Brian, This solution wont really work for us since we plan to have multiple dev environments and then multiple promotion streams and each a at least 5 machines for the install with multiple configs for each machine. it gets to be a lot of changes in a lot of files. I can see this working for

Re: [NAnt-users] xmlpoke vs token replace for Config Files

2011-08-29 Thread Wilson, Brian
Good Afternoon, I use a less elegant design, but here it goes. We usually don't have very many changes so I have created a config file for each environment. * config.dev.cfg * config.qa.cfg * config.prod.cfg Prior to the compilation of the project, I delete the config

Re: [NAnt-users] xmlpoke vs token replace for Config Files

2011-08-29 Thread Bob Archer
Works for both... actually, it is taking the stuff build into the web application publish process and making it more generic. A quote from the blog entry: This kind of config file transformation is so useful in fact, that it's one of the #1 feature requests...as a generalized solution. Folks wa

Re: [NAnt-users] xmlpoke vs token replace for Config Files

2011-08-29 Thread Bob Archer
You might want to take a look at slow cheetah. http://www.hanselman.com/blog/SlowCheetahWebconfigTransformationSyntaxNowGeneralizedForAnyXMLConfigurationFile.aspx BOb From: Scott Pennington [mailto:spenning...@prosper.com] Sent: Monday, August 29, 2011 2:50 PM To: nant-users@lists.sourceforge.n

Re: [NAnt-users] xmlpoke vs token replace for Config Files

2011-08-29 Thread Christopher Brandt
I went through a similar process a few years ago and decided to switch from Token Replace to XML Poke. I think you've done a good job of documenting the strengths and weaknesses of each approach. in general I think XML Poke is cleaner. The only real problem I found was that XML Poke wouldn't work w

[NAnt-users] xmlpoke vs token replace for Config Files

2011-08-29 Thread Scott Pennington
This is a long post. The simple question is what methods have you chosen to maintain config files when deployed to multiple environments? I am in the process of reworking a set of build, package, install NAnt scripts that mainly use Token Replace and I am trying to decide if it is better to