Re: FW: [Nant-users] regex replace

2005-07-29 Thread Edmund Schweppe
Steve Baker wrote: The web site I "have" to work on at this client is both asp.net and asp. The "design" that I have to work with is that the asp.net side uses a web config file and the asp site puts the same settings in the global.asa. Something like this: > Web.config: > > > > > Globa

RE: FW: [Nant-users] regex replace

2005-07-29 Thread Steve Baker
Craig, I am sure that xmlpreprocess is great, I have never looked at it before. The web site I "have" to work on at this client is both asp.net and asp. The "design" that I have to work with is that the asp.net side uses a web config file and the asp site puts the same settings in the global.asa.

RE: FW: [Nant-users] regex replace

2005-07-29 Thread Craig Ducharme
Steve, You might want to look into XMLPreprocess (http://sourceforge.net/projects/xmlpreprocess/). I use it to replace environment specific settings in .NET config files in my build process. Let me know if you'd like some examples. Regards, Craig Ducharme Direct Alliance Corporation Config

RE: FW: [Nant-users] regex replace

2005-07-29 Thread Steve Baker
I have a web site that is pulled down from vss. The nant script zips the web site up and deploys it to staging automatically. Before I zip the files, I need to modify a file that has config settings in it. It logically is the same file, with staging settings instead of developer settings. I can't

Re: FW: [Nant-users] regex replace

2005-07-29 Thread Gary Feldman
Steve Baker wrote: So I had never seen the replacestring filter before, that is cool... Any one know what happens if I use the copy task like this cause I really don't want another file laying around :( You'll risk messing up things that depend upon file modification times - which includes

[Nant-users] Error accessing VSS

2005-07-29 Thread Pedro Silva
Hi there.   I'm using Cruise Control.NET and NAnt to implement Continuous Integration on a project my company's developing. I've created a NAnt's build file similar to other ones I've used in the past, but this time I'm getting an error that I can't find anywhere on NAnt's help. My build fi

Re: [Nant-users] Error while building C++ solution

2005-07-29 Thread Gary Feldman
Robert Smith wrote: I added the following to my .build to get past this issue when building C++… value="%DevEnvDir%;%MSVCDir%\BIN;%VCINSTALLDIR%\Common7\Tools;%VCINSTALLDIR%\Common7\IDE;%VCINSTALLDIR%\Common7\Tools\bin\prerelease;%VCINSTALLDIR%\Common7\Tools\bin;%FrameworkSD

RE: [Nant-users] regex replace

2005-07-29 Thread Robert Smith
You could use something like... ...for the extraneous file after you've done the parse... ~Robert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Baker Sent: Friday, July 29, 2005 8:52 AM To: Nant-users@lists.sourceforge.net Subject: FW: [Nant-u

FW: [Nant-users] regex replace

2005-07-29 Thread Steve Baker
So I had never seen the replacestring filter before, that is cool... Any one know what happens if I use the copy task like this cause I really don't want another file laying around :( Thanks, steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ashle

RE: [Nant-users] regex replace

2005-07-29 Thread Steve Baker
Thanks paul. I already have this type of thing in a compiled form. Perhaps a script form will be less scary for clients?   steve   From: Paul Cowan [mailto:[EMAIL PROTECTED] Sent: Friday, July 29, 2005 10:43 AM To: Steve Baker; Nant-users@lists.sourceforge.net Subject: RE: [Nan

RE: [Nant-users] regex replace

2005-07-29 Thread Paul Cowan
The following target maybe of use to you.                                                                             

Re: [Nant-users] regex replace

2005-07-29 Thread Ashley Moran
Steve Baker wrote: I don’t see any type of functionality in nant or nantcontrib to find and replace a string value in a file. There is xmlpoke for xml files. How are people doing the same type of thing for non xml files? I wrote a task for this myself a while back, but sometimes clients pre

[Nant-users] regex replace

2005-07-29 Thread Steve Baker
I don’t see any type of functionality in nant or nantcontrib to find and replace a string value in a file.   There is xmlpoke for xml files. How are people doing the same type of thing for non xml files?   I wrote a task for this myself a while back, but sometimes clients prefer to use