-
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.swc
withlibs/osmf.swc
in<sdk>/frameworks/flex-config.xml
; - Rename
frameworks/downloads.xml
toframeworks/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.gz
extension;