How to include additional compiler arguments when using mxmlc ant task

antapache-flexmxmlcservice

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

Best Answer

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

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