Problem build file .swf with gradleFX
Error in image. Please help me resolve it. Thanks , anyone.
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 quanhungbang on 28 Jan, 2016 10:15 AM
image
2 Posted by quanhungbang on 28 Jan, 2016 10:16 AM
image
Support Staff 3 Posted by Yennick Trevels on 31 Jan, 2016 05:09 PM
Hi,
I don't think this is a GradleFx issue. Based on the error it looks like the same issue as described here: http://stackoverflow.com/questions/3125364/warning-css-type-selecto...
4 Posted by quanhungbang on 02 Feb, 2016 04:34 AM
There are dependency in Maven:
--------------------------------------------------
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>framework</artifactId>
<version>${flex.sdk.version}</version>
<type>swc</type>
<scope>caching</scope>
</dependency>
------------------------
I want convert it to GradleFx, when build flex. I can't find : scope is caching in GradleFX. Docs GradleFX have scopes:
merged
internal
external
rsl
test
theme
Support Staff 5 Posted by Yennick Trevels on 02 Feb, 2016 07:43 AM
As I understand it the 'caching' scope in FlexMojos (Maven) is used for runtime shared libraries (RSLs). In GradleFx the 'rsl' configuration (or 'scope' as you call it) is meant for this. So instead of 'caching' you can probably use 'rsl' in GradleFx.
Now I also see that you try to use the same Flex SDK dependencies as when using FlexMojos. GradleFx isn't really build to work with these Flex Framework dependencies as they were specifically created for FlexMojos.
In GradleFx you can specify the Flex SDK in a slightly different way. See http://doc.gradlefx.org/en/latest/sdk_auto_install.html for more information on this.
Once you've defined the Flex SDK like that you can define your rsl's relative to the 'flexHome' convention property, like this:
6 Posted by quanhungbang on 02 Feb, 2016 08:37 AM
Thank you Yennick, I will review your good idea. Once again, thanks so much.