14
Sep

mxmlc, ant and metadata

Just not to forget how to make mxmlc and task save my custom metadata.

<target name="compile.test" >
 <mxmlc file="${source.dir}/TestsLauncher.mxml" output="${bin.dir}/tests/TestsRunner.swf" keep-generated-actionscript="false">
 <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
 <source-path path-element="${FLEX_HOME}/frameworks" />
 <source-path path-element="${source.dir}" />
 <compiler.library-path dir="${libs.dir}" append="true" >
 <include name="fluint.swc" />
 <include name="alcon.swc" />
 </compiler.library-path>
 <keep-as3-metadata name="Meta1"/>
 <keep-as3-metadata name="Meta2"/>
 </mxmlc>
 </target>

Tags: , ,