apache-flexantservicemxmlc

How to include additional compiler arguments when using mxmlc ant task?


Flex Builder allows additional compiler arguments to be set in the compiler options, under properties. It sets the argument;

-services ".../services-config.xml"

Is there a way to set the same argument when using the ant task mxmlc?

Cheers,

Mike


Solution

  • You should be able to set it as an attribute on the mxmlc task:

    <mxmlc services="../services-config.xml"/>