Brian Kotek wrote: > All of this can (and should) be automated with ANT. That means at the click > of my mouse I can execute the entire deployment process in exactly the same > way every single time. That might mean: > - Zip the current code, timestamp it, and copy it to a back folder for > easy retrieval. > - Delete the current code > - Copy a site maintenance file into the site folder > - Pull latest from SVN > - Perform export to site folder > - Run a reinit HTTP request to reload the application > - Send an email to notify stakeholders of success
I agree with the need for scripting part. What you do in your scripting however can be very different if you have different requirements. In my case the scripting does: - export the sources - export externals - export the buildfiles - spawn an Ant task to package an EAR - remove all unit tests - compile the code - spawn an Ant task to package another EAR - calculate MD5 checksums of both EARs Then the non-compiled EAR with unit tests goes to the test environment and if approved there the compiled EAR without unit tests goes to QA so the customer can approve it. Test, QA and production do not have access to source control for CFML sources (only for configuration files), they get EAR files with MD5 checksums and test reports of the previous step in the cycle. This approach is very different from most approaches but the reason for that is that quite a bit of the software we develop is not deployed on infrastructure we control. We have had too much trouble with people messing around with things they didn't understand and with deployment instructions that were only partially followed. And we just don't want to deploy any sources at all, just compiled code. Jochem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310843 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4