If I define the following SQL task
<sql connstring="Provider=SQLOLEDB;User ID=sa;Password=xxx;Initial
Catalog=master;Data Source=${db.server}"
transaction="false"
delimiter=";"
delimstyle="Normal"
print="true"
output="${build.latest.portal.db.dir}
\restoreDbResults.txt"
verbose="${isVerbose}">
RESTORE DATABASE ${db.name}
FROM DISK = '\\Server1\backups$\DbDumps\cap\capDB.bak'
WITH MOVE 'cap' TO 'c:\databases\MSSQL\data\cap.MDF',
MOVE 'cap_log' TO 'c:\databases\MSSQL\data\cap_log.LDF'
</sql>
I would like the ${db.name} to be replaced.
Thanks,
Jason
-------------------------------------------------------
This sf.net email is sponsored by: Jabber - The world's fastest growing
real-time communications platform! Don't just IM. Build it in!
http://www.jabber.com/osdn/xim
_______________________________________________
NAntContrib-Developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer