Task for building Flex Ant
3 answers
The exec task executes any external program:
<exec executable="${basedir}/tool.sh" dir="${basedir}" output="target.as">
<arg path="source.txt"/>
</exec>
So, if you are using mxmlc ant task to compile swf, you can define your build task like this:
<target name="build">
<exec executable="${basedir}/tool.sh" dir="${basedir}" output="target.as">
<arg path="source.txt"/>
</exec>
<mxmlc ....>
...
</mxmlc>
</target>
+4
source to share
http://livedocs.adobe.com/flex/3/html/anttasks_1.html
You can also use the "mxmlc" Flex task instead of calling it with exec. You can do a lot of configuration right in XML if you don't want it to support wrapper script.
+1
source to share