This repository was archived by the owner on Apr 28, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
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.
- Install Apache Flex SDK using GradleFx auto install feature (hopefully a player would install properly);
- Go to
~/.gradle/gradleFx/sdks/<hash>; - Replace
libs/OSMF.swcwithlibs/osmf.swcin<sdk>/frameworks/flex-config.xml; - Rename
frameworks/downloads.xmltoframeworks/downloads.xml.disabled(this prevents GradleFx from installing additional dependencies within Apache Flex SDK in the future); - Rename
~/.gradle/gradleFx/sdks/<hash>to./apache-flex-sdk-[revision]-bin; - Archive the directory using
.tar.gzextension;