1 Reply Latest reply on Feb 19, 2008 12:01 PM by Gaurav J

    Flex Ant Tasks for F3b3 produces debug version always! How to fix that?

    xchg.ca Level 1
      Here is piece of my flex ant file:
      <mxmlc file="${BUILD_SPACE}ActiveUpdate.mxml" output="${DEPLOY_DIR}/ActiveUpdate.swf"
      actionscript-file-encoding="UTF-8"
      services="${BUILD_SPACE}res/services-config.xml"
      context-root="ISP"
      locale="en_US" as3="true" optimize="true" static-rsls="false" headless-server="true">
      <runtime-shared-libraries url="framework_3.0.189825.swf"/>
      <source-path path-element="${FLEX_HOME}/frameworks"/>
      <compiler.keep-as3-metadata>false</compiler.keep-as3-metadata>
      <compiler.debug>false</compiler.debug>
      <compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
      <include name="libs" />
      <include name="../bundles/{locale}" />
      </compiler.library-path>
      </mxmlc>

      Whatever options I put in here I getting debug version with size 190kb, but when I do export release via eclipse I getting version sized 140!!! WHY?