Thanks Ryan, this plan did cross my mind. The problem I have with it is how to archive the old version remotely. Solving that problem, this might be a good solution.

-scott


From: "Ryan Davis" <[EMAIL PROTECTED]>
To: "'Scott Clemmons'" <[EMAIL PROTECTED]>,<nant-users@lists.sourceforge.net>
Subject: RE: [Nant-users] deploying asp.net applications
Date: Fri, 4 Nov 2005 09:51:40 -0500

Not necessarily common, but one way just popped into my head:

Store your application in a new directory every time you publish a new version, and then change the IIS entry to have that web app
point to the new directory.

The process would become:
1. Build the new version
2. Zip the new version
3. Create a new folder on the server
4. FTP the new version to the new folder
5. Unzip the new version
6. Repoint all the virtual directories
7. Archive the old version

There are nantcontrib tasks to muck about with the IIS metabase, so all of this could be automated.
http://nantcontrib.sourceforge.net/release/latest/help/tasks/adsigetprop.html
http://nantcontrib.sourceforge.net/release/latest/help/tasks/adsisetprop.html

Just a thought.

Thanks,
Ryan
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Clemmons
Sent: Friday, November 04, 2005 9:21 AM
To: nant-users@lists.sourceforge.net
Subject: [Nant-users] deploying asp.net applications

Greetings!

I am using Nant to build, zip, and FTP my asp.net application to a remote
site where I then have to manually (oh the horror!) archive the old version
and unzip the new package into the existing virtual directories. Now I wish
to automate these last steps so that deployment is fully automated. I know
that I could simply FTP over the existing application, but I hate to have
obsolete files hanging around. I also am thinking about writing a
file-watching service to do this final step (I have access to the server),
but I would rather do it all with Nant if possible.

Is there a common way of doing this with Nant?

Thanks,

Scott




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users





-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to