1 Reply Latest reply on Sep 15, 2008 4:14 AM by SujitG

    how to get ALL command line parameters

    B.O.H.R.
      Hi,

      Is there possibility to get all command line parameters which Flex builder invokes when I press RUN button ?
      I am asking because I want to create mxmlc ant task with the same parameters as Flex builder.

      I wrote something like that below but I have a problem with invoking remote function, it seems that poduced SWF inf flex builder an my script (below) arent the same - and mayby have some security differences.

      Any Ideas how to get all compiler argumets from flex builder ?
      quote:

      <mxmlc
      file="${flex.src}\main.mxml"
      output="${flex.output}\main.swf"

      services="${path.tomcat.root.WEB}/flex/services-config.xml"
      context-root="${path.tomcat.root}"
      use-network="true"
      keep-generated-actionscript="false"
      debug="false"
      locale="en_US"
      incremental="true"
      >
      <!--load-externs="${LOADEXTERNS}"
      link-report="link-report.xml" -->
      <load-config filename="${FLEX_HOME}\frameworks\flex-config.xml"/>
      <source-path path-element="${FLEX_HOME}\frameworks"/>
      <compiler.source-path path-element="${flex.src}"/>
      <compiler.library-path dir="${FLEX_HOME}\frameworks" append="true">
      <include name="libs" />
      <include name="../bundles/{locale}" />
      </compiler.library-path>
      </mxmlc>