Well, after some google-fu, I discovered that compc will not work for libraries aircraft components! .
Get it, you need to use acompc! Yeah! Check it out: http://livedocs.adobe.com/flex/3/html/help.html?content=CommandLineTools_3.html
I've never heard of it, and google acompc really does not give you much.
I can not find documentation ANT task, but I found this blog post that describes how to do this using the "exec-task", build.xml file located in the comments on this blog post: http: // andkrup .wordpress.com / 2010/06/08 / flex-3-5-air-swc -ant-tasks /
Update I read this blog post and noticed at the bottom of this code was published in the latest comments:
<compc output="${dir.build}/${ant.project.name}.swc" target-player="10.0.0"> <load-config filename="${FLEX_HOME}/frameworks/air-config.xml" /> </compc> } / $ {ant.project.name} .swc" target-player = "10.0.0"> <compc output="${dir.build}/${ant.project.name}.swc" target-player="10.0.0"> <load-config filename="${FLEX_HOME}/frameworks/air-config.xml" /> </compc> {FLEX_HOME} /frameworks/air-config.xml" /> <compc output="${dir.build}/${ant.project.name}.swc" target-player="10.0.0"> <load-config filename="${FLEX_HOME}/frameworks/air-config.xml" /> </compc>
Apparently, compc just needs another config.xml file for proper operation.
source share