Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The options to the Falcon version of mxmlc are basically the same as for the legacy compiler. Some options such as -keep are no longer supported. If you try use an unsupported options, a warning will let you know.

In an Ant Script

Like the legacy compiler, Falcon provides <mxmlc> and <compc> Ant tasks. They are implemented by the classes MXMLCTask and COMPCTask in the org.apache.flex.compiler.ant package. These classes are part of falcon.jar. To use these tasks in an Ant script, first do

No Format

<taskdef ???>

The require that the Ant property FLEX_HOME be set to a Flex SDK directory so that config files and SWC files can be found.

Inside Eclipse

The relevant entry points for a Debug Configuration are the MXMLC and COMPC classes in the com.adobe.flash.compiler.clients package.

...