Flex + ( Ant | Maven ) + Sonar

The title may sound like there are two possible ways how you can have your source code analyzed and published to sonar, but you better do not rejoice prematurely. After spending couple of hours trying to figure out how to make it work using ant I may have hit some nice articles, however sonar-ant-task seems to have major issues with sonar version 2.8. The solution is maven!

Read the rest of this entry »

SWZ, RSL and Flexmojos Build Setup

With default Flexmojo build setup your clients may easily fall into .swz load issue. Why clients? Because you already have .swz files cached in your player but they dont. Sure, you can turn off caching easily. The issue is textLayout and osmf uses a different version numbering and .swz location than the rest of the flex sdk .swzs. The exception by flex application may look something like this:

Error #2032: Stream Error. URL: http://fpdownload.adobe.com/pub/swz/flex/4.1.0.16076/textLayout_4.1.0.16076.swz
Error #2032: Stream Error. URL: http://fpdownload.adobe.com/pub/swz/flex/4.1.0.16076/osmf_4.1.0.16076.swz

Read the rest of this entry »