Specifications
189ADOBE FLEX 3
Building and Deploying Adobe Flex 3 Applications
Using the compc task
You use the compc Flex Ant task to compile component SWC files. This task supports most compc command-line
compiler options, including aliases. For more information on using the compc command-line compiler, see
“Using compc, the component compiler” on page 161.
Required attributes
The only required attribute for the compc task is the output attribute, which specifies the name of the SWC file
that the
compc task creates.
Special attributes
The include-classes attribute takes a space-delimited list of class names. For example:
<compc include-classes="custom.MyPanel custom.MyButton" ... >
...
</compc>
When using the include-resource-bundles attribute, you should not specify them as a comma or space-
delimited list in a single entry. Instead, add a separate nested tag for each resource bundle that you want to include,
as the following example shows:
<compc output="${swf.output}/compc_rb.swc" locale="en_US">
<include-resource-bundles bundle="ErrorLog"/>
<include-resource-bundles bundle="LabelResource"/>
<sp path-element="locale/{locale}" />
</compc>
Unsupported options
The following compc command-line compiler options are not supported by the compc task:
• help
• version










