Anthony
Anthony

Reputation: 325

MXMLC Ant Task : how to use "includes" notion?

I would like to use includes element in my MXMLC ant task. With Ant cmd line it's easy :

<java jar="bla/mxmlc" fork="true" failonerror="true">

<arg value="-includes"/>
<arg value="FlexMonkeyTestController"/>

But in MXMLC ant task, i can't resolve it :

<mxmlc 
file="${src.dir}/${trinity.project}.mxml"
    ...
maxmemory="512m">
<includes>
        <symbol>FlexMonkeyTestController</symbol>
</includes>         

So, which is the good syntax ?

Thank you very much

Regards

Anthony

Upvotes: 1

Views: 782

Answers (1)

z3xj
z3xj

Reputation: 11

You can use like this:

<mxmlc file="${src.dir}">
    <includes symbol="yourClassName"/>
    <includes symbol="yourOtherClassName"/>
    .................
</mxmlc>

MXMLC in ANT

Upvotes: 1

Related Questions