Hello,
I am unsure whether this an actual bug, but the PureMVC 2.x swc breaks projects in the following setup.
We compile an AS3 application using Flex SDK 2.0.1/mxmlc & ANT with flexTasks.
When switching from PureMVC.swc (v1.6) to PureMVC_AS3_2_0_3.swc the build yields following error:
Error: unable to load SWC PureMVC_AS3_2_0_3.swc: unknown element script found in digests section in catalog.xml.
The relevant section from the task is:
<mxmlc file="${APP_ROOT}/CompileMain.as" link-report="${mxmlc.linkreport}" output="${build_swf.dir}/${main.swf}" default-background-color="${swf.bgcolor}" default-frame-rate="${swf.framerate}" use-network="${mxmlc.use_network}" incremental="${mxmlc.incremental}">
<load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
<default-size width="${swf.width}" height="${swf.height}"/>
<source-path path-element="${FLEX_HOME}/frameworks"/>
<source-path path-element="${src.dir}"/>
...
<!-- includes all classes and assets from following swc's -->
<compiler.include-libraries dir="${swc.dir}" append="true">
<include name="PureMVC_AS3_2_0_3.swc" />
<include name="ProgressBarComponent.swc" />
</compiler.include-libraries>
</mxmlc>
Any hints/help will be greatly appreciated.
UPDATEUpgrading to Flex SDK 3 and the use of the flexTasks included within will let us build the project now with PureMVC_AS3_2_0_3.swc. But the issue mentioned above still holds true and might be part of the releasenote or stated somewhere else since it does not present full compatibility to flex 2 with flextasks.
Kind regards
-ph