1 Reply Latest reply on Aug 17, 2015 11:20 PM by Chen Jue

    Additional Compiler Arguments - How to set?

    asafdsadfasddfsas Level 1

      In FlexBuilder, go to project properties and navigate to the Flex Compiler. You should see an "Additional Compiler Arguments" field.

      If I build the flex application through Ant How to set the same? Please explain in detail the file where I need to set with an example for setting "-locale en_US".

        • 1. Re: Additional Compiler Arguments - How to set?
          Chen Jue

          in the target field in the build.xml file, such as:


            <target name="compile.app">

                   <mxmlc file="${project.src.dir}/a.as"



                       debug="true" fork="true">

                       <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml" />

                       <source-path path-element="${project.src.dir}" />

                       <external-library-path dir="${FLEX_HOME}/frameworks/libs">   

                           <include name="player/12.1/playerglobal.swc" />            

                           <include name="datavisualization.swc" />

                           <include name="framework.swc" />

                           <include name="rpc.swc" />                


                       <library-path dir="${project.libs.dir}" append="true">

                           <include name="*.swc" />


                       <jvmarg line="${mxmlc.jvm.args}"/>

                      <arg value="-locale"/>

                       <arg value="en_US"/>