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

Show Posts

* | |

  Show Posts
Pages: [1]
1  PureMVC Manifold / Bug Report / [ Flex 2.0.1 SWC ATTACHED ] PureMVC_AS3_2_0_3.swc & mxmlc on: May 09, 2008, 04:13:24
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.

UPDATE
Upgrading 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
Pages: [1]