Skip to main content

Posts

Showing posts from July, 2012

MojoExecutionException: TargetPlayer and playerglobal dependency version doesn't match

If you get this error while compiling Flex modules using Maven, then you just need to exclude playerGlobal dependancy:
<dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>flex-framework</artifactId> <version>${flex.version}</version> <type>pom</type> <exclusions> <exclusion> <groupId>com.adobe.flex.framework</groupId> <artifactId>playerglobal</artifactId> </exclusion> </exclusions> </dependency>

TeamCity fails running FlashUnit tests with "socket write error"

Error log:
Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-plugin:3.9:test-run (default-test-run) on project Project1: Software caused connection abort: socket write errorC:\TeamCity\buildAgent\work\Project1\src\main\test\target\test-classes\TestRunner.swf

This error is caused due to Flash Player's 9+ security configurations.

Solution: The TeamCity agent should be installed as a domain user and not as SYSTEM user. Uninstall TeamCity agent and try reinstalling agent as domain user. If this does not work, then reinstall server also as domain user.

Enable “Open Command Window Here” context menu option in Windows 7

By default you need to SHIFT + right-click a folder, in order to access "Open command window here" context menu option.
You can enable it permanently by following steps:
Click Start, Run and type Regedit.exeNavigate to the following locations and delete "Extended" key with REG_SZ value:HKEY_CLASSES_ROOT\Directory\shell\cmdHKEY_CLASSES_ROOT\Directory\Background\shell\cmdHKEY_CLASSES_ROOT\Drive\shell\cmd Tip: You might want to take a backup of these keys, in case you want to revert to old setting.