tag:support.gradlefx.org,2011-05-23:/discussions/problems/137-cant-compile-air-component-libraryGradleFx: Discussion 2014-12-04T20:27:25Ztag:support.gradlefx.org,2011-05-23:Comment/302310142013-11-27T12:28:05Z2013-11-27T12:28:05ZCan't compile air component library<div><p>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:</p>
<pre>
<code>additionalCompilerOptions = [
'-load-config',
"${flexHome}/frameworks/air-config.xml"
]</code>
</pre>
<p>More info: <a href=
"http://livedocs.adobe.com/flex/3/html/help.html?content=CommandLineTools_3.html#1032592">
http://livedocs.adobe.com/flex/3/html/help.html?content=CommandLine...</a></p></div>Yennick Trevelstag:support.gradlefx.org,2011-05-23:Comment/302310142013-11-27T13:53:41Z2013-11-27T13:53:41ZCan't compile air component library<div><p>That works, I do get a warning (translated):<br>
"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?</p></div>tomnagelgasttag:support.gradlefx.org,2011-05-23:Comment/302310142013-11-27T15:03:10Z2013-11-27T15:03:10ZCan't compile air component library<div><p>unless you're using skins in that swc, I guess it won't</p></div>Yennick Trevels