playerglobalHome is probably missing
Error:
command line: Error: unable to open '/var/lib/jenkins/.gradle/gradleFx/sdks/d066129739d1fe3820c5c385231e8d2b3067eeb5/frameworks/{playerglobalHome}/11.9/playerglobal.swc'
But the file exsists:
$ ls /var/lib/jenkins/.gradle/gradleFx/sdks/d066129739d1fe3820c5c385231e8d2b3067eeb5/frameworks/libs/player/11.9/
playerglobal.swc
Looks like the problem is in {playerglobalHome} variable.
Environment: Ubuntu (same on mac)
Config:
playerVersion = "11.9"
dependencies {
flexSDK group: 'org.apache', name: 'apache-flex-sdk', version: '4.11.0', ext: 'tar.gz'
airSDK group: 'com.adobe', name: 'AdobeAIRSDK', version: '3.9', ext: 'tbz2'
}
additionalCompilerOptions = [
'-target-player=11.9'
]
PS
Tried "flexSDK group .... ext: 'zip'" (windows version) on Mac OS and it worked. I am confused: windows sdk works on mac and neither on linux.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac
1 Posted by shamruk on 30 Oct, 2013 11:29 AM
May be it has something to do with the following messages. I didn't have a control over the console because it was running as a jenkins task.
[input] Mozilla Public License Version 1.1:
[input] The contents of the file(s) are subject to the Mozilla Public License Version 1.1.
[input] You may not use the file(s) except in compliance with the License.
[input] You may obtain a copy of the License here:
[input] http://www.mozilla.org/MPL/.
[input] By downloading, modifying, distributing, using and/or accessing the file(s),
[input] you agree to the terms and conditions of the applicable license agreement.
[input] I have read the MPL1.1 license information above? ([y])
2 Posted by shamruk on 30 Oct, 2013 01:33 PM
Last assumption was right, the problem is in following messages.
Is there a way to "auto-yes" them? Like apt-get install ... -y
It is really important point for continuous integration server.
echo-mpl1.1-license:
[input] Mozilla Public License Version 1.1:
.....................................................................................................
[input] I have read the MPL1.1 license information above? ([y])
ask-blazeds:
[input] Apache Flex can optionally integrate with Adobe BlazeDS.
.....................................................................................................
[input] Do you want to install this jar from the Adobe Flex SDK? (y, [n])
ask-font:
[input] Apache Flex can optionally integrate with Adobe's embedded font support.
.....................................................................................................
[input] Do you want to install these jars from the Adobe Flex SDK? (y, [n])
Support Staff 3 Posted by Yennick Trevels on 30 Oct, 2013 09:18 PM
There is ;)
4 Posted by shamruk on 30 Oct, 2013 11:37 PM
Oh, I've seen it in the documents but I could not imagine that it could be such a useful feature
shamruk closed this discussion on 30 Oct, 2013 11:37 PM.
shamruk re-opened this discussion on 17 Mar, 2014 04:07 PM
5 Posted by shamruk on 17 Mar, 2014 04:09 PM
Same problem different reason
Calling:
/Users/sms/.gradle/gradleFx/sdks/f18da93efd9ffb5184099fec4825fc7d4f53a93b/frameworks/{playerglobalHome}/11.1/playerglobal.swc
"playerglobalHome" is not defined for some reason
Config:
Mac OS
playerVersion = "11.1"
name: 'gradlefx', version: '0.8.2'
name: 'apache-flex-sdk', version: '4.12.0'
name: 'AdobeAIRSDK', version: '3.1'
sdkAutoInstall { showPrompts = false }
Support Staff 6 Posted by Yennick Trevels on 17 Mar, 2014 06:12 PM
Are you still using the tbz2 AIR package (instead of the zip package which is intended for Windows)?
Also, did this start happening after a GradleFx/Gradle/Flex/AIR upgrade?
7 Posted by shamruk on 18 Mar, 2014 06:20 PM
Updated GradleFx, Flex and AIR at the same time.
I've cleaned everything including gradle caches and everything works now.
shamruk closed this discussion on 18 Mar, 2014 06:20 PM.