I swap between ColdFusion 8 and 9. I'd rather not have them both running locally at the same time. I have start stop batch files for CF8 so my laptop boots quicker and I start CF when I need it so I also made some for CF9. The main difference is the addition of solr service.
startcf9.bat:
stopcf9.bat:
I also have a restart_cf.bat which just cycles the ColdFusion service. Combine these with a few shortcut keys in AutoHotKey and it only takes a 1-2 clicks to cycle your CF service.
ReplyDeleteWhy not just start / stop the servers right in Builder?
ReplyDeleteThat's a good point. But if CF isn't running when I start eclipse I get a few errors do due inability to connect to the RDS servers. I hope this will be more stable once CFB is released as stable.
ReplyDeleteAh funny, I have a nearly identical batch file, horizontal lines included. Note that if you use a database that installs a service, like SQL Server, and a separate web server service like IIS, you can add those to the batch file as well.
ReplyDeleteNewer versions of my .bat have "net %1" and I throw arguments at it via the windows shortcut, so I have 1 batch file and 2 shortcuts, one that says start and one that says stop.
Yep we probably both got the CF8 ones from the same place: http://sherifabdou.com/2008/07/stopping-and-starting-coldfusion-8-services-in-windows-via-a-batch-file
ReplyDeleteGood suggestion on the SQL service. I run a VM for the database but I may install in on the local machine and start/stop it.