By Peter Bell

Are You Doing Continuous Integration with Flex?

I'm working up a new article for Flex Authority on Continuous Integration using Flex and was looking to see if anyone else out there was working with Hudson, Cruise Control or any of the other CI solutions for their projects. If you are, and would like to compare notes, please either comment below or email me - peter at this domain name.

Comments
Yes, my team has been doing CI with Flex via CruiseControl for sometime. Just using ANT scripts and the Flex SDK. We're missing a couple of important features such as FlexUNIT testing (don't have any tests currently) and conditional rebuild - I would like to skip re-compilation if the source files didn't change.
# Posted By Seth | 3/16/09 11:06 AM
At our company we've been working with Flex and CI for the last few months now. We use fluint and I got a little frustrated at the lack of CI support, so I built it into the new 1.1.0 release. We also integrated xvfb-run support so that fluint can run its tests in the AIR Runner headlessly on any Linux platform running X windows. If you're using fluint/flexunit/asunit/etc you're gonna have to face the need for a windowing environment eventually, so that's probably the biggest hurdle for the CI process and Flex.

As far as build goes Ant works well and keeps things simple, but the flex-mojos plugin for Maven is pretty nice and we use it at the office. If you want dependency management and don't want to use Maven however, Apache Ivy is just as good, just requires a bit more config. I did a preso at FlexCamp Miami about Flex and CI using Hudson, Ant, and fluint. I hope to have it online with my code soon, if it can help any.

Good luck with the article, if you have any questions, just let me know.
# Posted By Brian LeGros | 3/16/09 11:54 AM
I've set up our stack last summer. It was very painful to get it going but since, it runs smoothly. We use Hudson on Ubuntu server 8.04 with Xvnc, flex-mojo, FlexUnit and mock-as3 for a project with signed RSLs, localization, libs and modules.
# Posted By Marc | 3/16/09 3:10 PM
We're using Hudson (with Xvnc plugin), flex-mojos, FlexUnit, and Flexcover on Debian servers. Like Marc, it took a bit to get through the issues, but now that it's working, it does pretty well, though we'd like to get our Flexcover automated (right now we run it manually). We've just started looking into FlexMonkey as well.

@Brian
That's good to hear about fluint. We'd like to start using it in the next month or two, and it would be great if it works with the rest of our stack.
# Posted By Logan | 3/16/09 7:15 PM
you can run your unit tests on the command-line without the need of a GUI

I tried to make people aware of a way sending few emails

fwd copy here
http://groups.google.co.uk/group/flex-mojos/msg/a0...

but nobody (except a few) seemed that much more interested
# Posted By zwetan | 3/16/09 7:16 PM
I've been using Maven/Flex-Mojos, Artifactory, & Hudson to do CI for the past few months. It's worked great for us, and helped resolve a bunch of deployment issues. The leaderboard game is sweet too.

Recently, I set up an Ubuntu Server 8.10 machine running Tomcat and setting up the new builds couldn't have been simpler. Lately, I've been writing custom assemblies which zip builds for download by clients... pretty neat.
# Posted By Caleb Adam Haye | 3/16/09 10:48 PM
We are just now looking into this, and it looks very painful. Did your article ever get written?
# Posted By Ruprict | 4/13/09 2:44 PM
Still in the works - *should* be in the "issue after next" of Flex Authority.
# Posted By Peter Bell | 4/13/09 2:49 PM
We were able to successfully setup CI with Hudson, Fluint using Ant. Now we are trying to include Flexcover and have run into issues with FlexCover and Fluint. Just wondering if someone has figured this out.

Thanks,
Santosh
# Posted By santosh | 5/28/09 12:52 PM
BlogCFC was created by Raymond Camden. This blog is running version 5.005.