Can't compile air component library
Hello,
I seem to be having a problem with another project.
This should compile to a swc, and I have it working on a similar
other project, however, it seems that the inclusion of AIR parts
makes the compileFlex task run into errors.
After some searching I read that I might need to using acompc instead of compc to compile the library, but I'm not sure how to achieve that inside GradleFx.
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
Support Staff 1 Posted by Yennick Trevels on 27 Nov, 2013 12:28 PM
The acompc compiler invokes the compc compiler (which we use in GradleFx), but loads its configuration options from the air-config.xml file instead of the flex-config.xml file. So all you have to do I think is simulate this same behaviour by adding this compiler option to the additionalCompilerOptions array:
More info: http://livedocs.adobe.com/flex/3/html/help.html?content=CommandLine...
2 Posted by tomnagelgast on 27 Nov, 2013 01:53 PM
That works, I do get a warning (translated):
"frameworks/libs/frameworks.swc has standard settings for the style and is in the library-path, which means that dependencies are being linked without the styles. Because of this skins are possibly missing from applications that use the output-swc. The swc must be placed in the external-library-path" Is that going to matter?
Support Staff 3 Posted by Yennick Trevels on 27 Nov, 2013 03:03 PM
unless you're using skins in that swc, I guess it won't
tomnagelgast closed this discussion on 09 Dec, 2013 09:51 AM.