Re: [Nant-users] Replacing variables in script files

2005-05-20 Thread Merrill Cornish
Shelly, You use ${ ... } in a NAnt statement to cause whatever is between the curly braces to be "evaluated". The simplest evaluation is to just write a property name. You can also use it to evaluate function calls and so on. Since everything inside a ${ ... } is evaluated, there is no need t

Re: [Nant-users] Replacing variables in script files

2005-05-20 Thread Troy Laurin
Shelly, See if copying your scripts with a filterchain (replacestring filter) will help you... http://nant.sourceforge.net/release/latest/help/types/filterchain.html http://nant.sourceforge.net/release/latest/help/filters/index.html Note that using filterchains you cannot modify your scripts in p

[Nant-users] Replacing variables in script files

2005-05-20 Thread Shelly Midha
  I want to run a set of sql scripts while releasing the application. These sql scripts contain certain variable that need to be replaced while executing the query. A sample statament is:   "SELECT * FROM  ...vNewHire hr"   Where I want to replace ,, with the respective values stored as