Skip to content

framework

Tomasz Oponowicz edited this page Jul 31, 2014 · 10 revisions

Apache Flex SDK 4.12.1 has been patched and published because GradleFx 0.8.2 introduces few issues during auto install.

The first issue is Error: unable to open '{playerglobalHome}/11.1/playerglobal.swc' whilst building project. The root cause of this issue is a random failure of a player installation during extracting Apache Flex SDK.

The second issue is Could not find matching constructor for: org.gradle.api.artifacts.ResolveException(org.codehaus.groovy.runtime.GStringImpl) whilst building project. The root cause of this issue is a libs/OSMF.swc reference in <sdk>/frameworks/flex-config.xml file. The libs/osmf.swc file exists but Linux is case sensitive.

Patch Apache Flex SDK

  1. Install Apache Flex SDK using GradleFx auto install feature (hopefully a player would install properly);
  2. Go to ~/.gradle/gradleFx/sdks/<hash>;
  3. Replace libs/OSMF.swc with libs/osmf.swc in <sdk>/frameworks/flex-config.xml;
  4. Rename frameworks/downloads.xml to frameworks/downloads.xml.disabled (this prevents GradleFx from installing additional dependencies within Apache Flex SDK in the future);
  5. Rename ~/.gradle/gradleFx/sdks/<hash> to ./apache-flex-sdk-[revision]-bin;
  6. Archive the directory using .tar.gz extension;
Clone this wiki locally