Futurescale, Inc.
PureMVC Home
The PureMVC Framework
Code at the Speed of Thought
Over 10 years of community discussion and knowledge are maintained here as a read-only archive.
New discussions should be taken up in issues on the appropriate projects at
https://github.com/PureMVC
PureMVC Architects Lounge
PureMVC Manifold
Port to AS3
MultiCore Version
Building Module-based PureMVC Multicore Projects with Ant
Pages: [
1
]
« previous
next »
Author
Topic: Building Module-based PureMVC Multicore Projects with Ant (Read 7245 times)
Elephant
Newbie
Posts: 9
Building Module-based PureMVC Multicore Projects with Ant
«
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">
<mxmlc
file="${project.sourcePath}/${currentModule}.mxml"
output="${project.output.binaryPath}/${currentModule}.swf"
actionscript-file-encoding="UTF-8"
keep-generated-actionscript="true"
incremental="true">
<!-- 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}" />
</compiler.library-path>
<!-- Set size of output SWF file. -->
</mxmlc>
</target>
Any hints?
Logged
meekgeek
Full Member
Posts: 25
Re: Building Module-based PureMVC Multicore Projects with Ant
«
Reply #1 on:
February 11, 2011, 10:00:09 »
How funny just this this yesterday:
Here's an example of what I used:
http://snipplr.com/view/48821/ant-task-for-as-projects-with-flash-builder/
take special notice of "link-report" in mxmlc. Your mods will need that to optimize.
Logged
Pages: [
1
]
« previous
next »
Stack Overflow
GitHub
Linked In
Google Plus
Twitter
Powered by SMF 2.0.15
|
SMF © 2006-2007, Simple Machines LLC
|
Content © 2006-2018, Futurescale, Inc.
Loading...