To specify the location of the automation.swc, automation_agent.swc, and FlexTechDomain.swc libraries using the command-line compiler, use the include-libraries compiler option.
The following example adds the automation.swc and automation_agent.swc files to the application:
mxmlc -include-libraries+=../frameworks/libs/automation.swc;../frameworks/libs/ automation_agent.swc;pathinfo/FlexTechDomain.swc MyApp.mxml
Explicitly setting the include-libraries option on the command line overwrites, rather than appends, the existing libraries. If you add the automation.swc and automation_agent.swc files using the include-libraries option on the command line, ensure that you use the += operator. This appends rather than overwrites the existing libraries that are included.
To add automated testing support to a Flex Builder project, you must also add the automation.swc and automation_agent.swc files to the include-libraries compiler option.