I have a complex Flash Builder workspace with 18 Flex Library projects and 1 AS3 application project, where there are many dependencies between them.
I've created an ANT build.xml file for automatic builds, however I use ANT task from Flash Builder itself:
<fb.exportReleaseBuild project="..." destdir="..." failonerror="true" />
It works, but it brings some disadvantages:
So my question: Is there an easy way how to rewrite this fb.exportReleaseBuild ANT task to little tasks by project with mxmlc
and compc
?
Each swc project has like 4 other swc dependencies and other external assets that needs to be linked for embedding.
I don't know how does fb.exportReleaseBuild
task work, but I guess this might help you to achieve some similar task in unix platform, if you are using flexbuild 4 or later.
see help link in adobe online doc
You can use '-dump-config'
option to dump the settigns taht mxmlc or compc compiler used into a file, and then use '-load-config'
option to load it from unix platform.
Detail steps are just copied from the link before:
-dump-config
pathname, where pathname specifies the absolute path to a file on your system.-dump-config
argument after you have verified that the file has been written.mxmlc -load-config pathname
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With