2009-04-08 5 views
0

フレームワークRSLを使用してANTを使用してflexプロジェクトをビルドする方法のコード例を教えてください。RSLとANTを使用したFlexプロジェクトの構築

これは現在使用しているものですが、生成されるSWFファイルは大きなものです。

<target name="main"> 
     <mxmlc 
      file="${SRC_DIR}/myApp.mxml" 
      output="${DEPLOY_DIR}/myApp.swf" 
      actionscript-file-encoding="UTF-8" 
      keep-generated-actionscript="true" 
      incremental="true"> 
      <!-- Get default compiler options. --> 
      <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/> 

      <!-- List of path elements that form the roots of ActionScript 
      class hierarchies. --> 
      <source-path path-element="${FLEX_HOME}/frameworks"/> 

      <!-- List of SWC files or directories that contain SWC files. --> 
      <compiler.library-path dir="${FLEX_HOME}/frameworks" append="true"> 
       <include name="libs" /> 
       <include name="../bundles/{locale}" /> 
      </compiler.library-path> 
     </mxmlc> 
</target> 

おかげ

答えて

関連する問題