-includes takes classnames not file or directory names.  If you don't want an 
ever-growing commandline, use a -config file.

For example, for the project Foo.mxml, the file Foo-config.xml can contain 
other mxmlc options like

<?xml version="1.0"?>
<flex-config>
    <includes>
        <symbol>somepackage.somesubpackage.SomeClass</symbol>
        <symbol>someotherpackage.someothersubpackage.SomeOtherClass</symbol>

Alex Harui
Flex SDK Developer
Adobe Systems Inc.<http://www.adobe.com/>
Blog: http://blogs.adobe.com/aharui

From: [email protected] [mailto:[email protected]] On Behalf 
Of Eduardo Dias
Sent: Monday, August 31, 2009 9:28 PM
To: [email protected]
Subject: [flexcoders] - MXMLC -includes



Hello Guys,

I would like to force the flex compiler to include a set of class from a 
specific dir. I'm using ant to compile my project and i know that i can use the 
compiler option -includes to links one or more classes. However i don't want to 
everytime I create a new class have to add it at the compiler arguments. Do you 
guys know how can I include a entire dir and force the compiler to include 
these classes?

Thank for your time

Reply via email to