PureMVC Architects Lounge

PureMVC Manifold => MultiCore Version => Topic started by: Elephant on February 10, 2011, 11:29:28

Title: Building Module-based PureMVC Multicore Projects with Ant
Post by: Elephant on February 10, 2011, 11:29:28
Are there any examples of building Flex Modules based on PureMVC Multicore on Ant?  I have a project where I'm using PureMVC Multicore for a shell/modules arrangement, with modules loaded and unloaded dynamically in the shell via ModuleManager.getModule(url);

I'm trying to build the project with Ant, but when I try to include a task to build a module, it fails with

Error: The definition of base class Facade was not found.

I'm using the following Ant target to try to build the module:

    <target name="modules">
            <!-- Get default compiler options. -->
            <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
            <!-- List of path elements that form the roots of ActionScript
            class hierarchies. -->
            <source-path path-element="${FLEX_HOME}/frameworks"/>
            <!-- List of SWC files or directories that contain SWC files. -->
            <compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
                <include name="libs" />
                <include name="src/assets" />
                <include name="../bundles/{locale}" />
            <!-- Set size of output SWF file. -->

Any hints?

Title: Re: Building Module-based PureMVC Multicore Projects with Ant
Post by: meekgeek on February 11, 2011, 10:00:09
How funny just this this yesterday:

Here's an example of what I used:


take special notice of "link-report" in mxmlc.  Your mods will need that to optimize.