On Sat, Jun 12, 2010 at 1:21 PM, Bobby Hartsfield wrote: > > Never heard of CI but I was considering Ant possibilities to keep all dev > servers synced up. So when a developer commits something back into Perforce, > it could automatically sync up any dev servers out there of the same > version. > > Automated integrations with predefined branch specifications would be > awesome too when someone checked something in.
Continuous Integration. Automated test running based on events + other events based on test results, basically. There are existing tools like Hudson and CruiseControl and whatnot. What I've done is a collection of ant scripts that do all kinds of crazy CFML stuff for Railo, ACF, and OpenBD. Set up DSNs, set up mappings/custom tags, debugging, scheduled tasks, caching-- tweets, url rewriting, scp & ssh (with tunneling) for deployment... For SCM integration, I've got SVN, CVS, and Git (all native java for doing most stuff, even with Git (PITA)). I want to add Hg/Mercurial and maybe Bazaar, if they have usable java implementations. The idea is you don't need to install the VC software on the target server to have things "work". Just download the zip, expand it and type "ant". Looks like Perforce has P4Java, which has a lot of things like ant and test running and whatnot? I wouldn't mind adding Perforce support, if you do get something going. I don't have anything to test against, so I can't do it myself. Anyways, because of the SCM integration, you can do things when source code changes, locally or remotely. Things like run a test suite, and then deploy the code if tests pass, etc.. A nice thing about what I've done, is that it's really easy to test out stuff on various platforms, and (if needed) various CFML engines. The whole thing is ~10M, and can always be ~10M, because it can pull the project sources and CFML engines (besides ACF =]) on the fly. Or you can make a bigger distro and include stuff off the bat. I'm working on a few public examples and some documentation, and there's some old stuff I still need to integrate for deploying various servlet containers (right now it uses jetty-runner)... A side effect of all this crap is that IzPack (a java based installer generator) can leverage all the Ant goodness as part of an install. Amazing things are on the horizon for CFML application deployment, if I have anything to say about it. :) :Denny -- Einstein's results again turned the tables and now very few philosophers or scientists still think that scientific knowledge is, or can be, proven knowledge. Imre Lakatos ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334508 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

