blog
Tag Archive for flexmojos at Jozef Chúťka's blog
August 1, 2011
Quick Tip: Read timed out …/target/test-classes/TestRunner.swf
There has been a terrible issue blocking maven/flexmojos builds randomly with exception:
[INFO] Read timed out /home/user/project/target/test-classes/TestRunner.swfEven there are some tips how to fix this issue, none of them worked for my case. After all unit tests were removed and one by one added back manualy, I was able to locate the tests causing it. Problematic appeared to be async unit tests and the random factor appeared to be cpu usage. In other words when flashplayer was not able to execute and finish async test, it failed with maven exception. Finally, the day was saved with changed testTimeout value:
<configuration>
<testTimeout>60000</testTimeout>
...
</configuration>Maven version: 2.2, Flexmojos: 3.8, Flex SDK: 4.1.0.16076, FlexUnit: 4.0-rc-1
June 8, 2011
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