Daya, I am currently implementing the same thing.
The approach that I have working is: 1) Nant build script to run on our integration server, build the ASP.NET application and its dependent assemblies and then deploy the web application to the integration server's wwwroot. (default.build) 2) Once QA has approved the integrated build, then run a separate script to publish the application from integration to production. (publish.build) The deploying and publishing is achieved using the <copy> and <mkiisdir> (Nantcontrib) tasks and obviously depends on there being a local network. I have attached the two scripts as examples. Any comments appreciated. Jonathan -----Original Message----- From: Daya Sharma [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20, 2003 6:54 PM To: [EMAIL PROTECTED] Subject: [Nant-users] Deployment of asp.net app using Nant Hi All I am a newbie to Nant, .Net ....... I used Nant to build my VS.net solution (and Draco.net to automate the process). I am using NUnitASP to unit test my ASPx pages and NUnit for non-asp tests. I know that I can run both NUnitASP and NUnit tests using Nant but I would like to run ASP tests after deploying the application on the test machine running IIS 5.0. So in short these are the steps I need to take...... 1. Compile my solution (.sln) and projects .............. 2. Run NUnit tests. ............ 3. Hot deploy the web application ...................... I am lost here ;) 4. Run NunitASP tests....... 5. Email the build results using either Draco.net or Nant itself. I am faced with a couple of challenges while attempting step 3 (a prerequisite to step 4). 1. How do create a Windows Installer (e.g. setup.exe) to install my web application on a test/production machine? 2. How do replace an already running web application from IIS using Nant? In short how do I perform hot deployment on a test/production machine. 3. If I execute the Windows Installer (i.e. setup.exe) using Nant can I pass some command line parameters so that installation/deployment of web app happens sliently i.e. without any manual intervention, in other words non-GUI installation. Your input will be highly appreciated. Thanks in advance. Daya Sharma ------------------------------------------------------- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users
publish.build
Description: Binary data
default.build
Description: Binary data
smime.p7s
Description: S/MIME cryptographic signature