You have to match the dependency of the compiler (plugin dependency) to the framework version you are using. Could you please post your complete pom?
Chris 2011/5/15 Nigel Magnay <[email protected]>: > Ah - ok - this looks like something big has changed in the SDK API. > Just creating a simple project in FB4 vs FB4.5 produces quite different > config xml files (attached). > I notice comparing the -config output of FB4.5 vs what I get from flexmojos, > they're quite different. I'm including the framework with the pom stanza > <dependency> > <groupId>com.adobe.flex.framework</groupId> > <artifactId>flex-framework</artifactId> > <type>pom</type> > </dependency> > Now, I trace down the common-framework pom and I can see that all the > dependencies in there are declared as <type>swc</type>, when it strikes me > that most of them ought perhaps to be <type>rsl</type>, and they need to get > put in the 'default' application > (runtime-shared-library-settings.application-domain - I don't know id this > would default to 'default' however) > So it's probably that the FB4.5 framework RSLs don't like being included as > SWCs in this way.. > > > On Sun, May 15, 2011 at 2:42 PM, Nigel Magnay <[email protected]> > wrote: >> >> Hm - OK, I think it's broken but I'm not sure why. >> The resulting flex-config xml files look pretty similar; the 4.5 version >> has added a few library-path path-elements like advancedgrids.swc; it's also >> added the halo theme, but otherwise nothing suspicious. >> If I run the resultant SWFs through swfdump they look similar. >> Setting AS3Trace=1 in mm.cfg, I can see that the 4.5 build dies here: >> >> 693 AVMINF: MTHD flash.events::Event/get target () >> >> 693 AVMINF: MTHD flash.events::EventDispatcher/dispatchEventFunction () >> >> 694 AVMINF: MTHD >> mx.preloaders::SparkDownloadProgressBar/initProgressHandler () >> >> 694 AVMINF: MTHD global/flash.utils::getTimer () >> >> 694 AVMINF: MTHD global/flash.utils::getTimer () >> >> 694 AVMINF: MTHD >> mx.preloaders::SparkDownloadProgressBar/showDisplayForInit () >> The equivalent 4.1 code was doing >> >> 1114 AVMINF: MTHD flash.events::Event/get target () >> >> 1115 AVMINF: MTHD flash.events::EventDispatcher/dispatchEventFunction () >> >> 1115 AVMINF: MTHD >> mx.preloaders::SparkDownloadProgressBar/initProgressHandler () >> >> 1115 AVMINF: MTHD global/flash.utils::getTimer () >> >> 1115 AVMINF: MTHD >> mx.preloaders::SparkDownloadProgressBar/showDisplayForInit () >> >> 1133 AVMINF: MTHD flash.events::Event () >> >> 1133 AVMINF: MTHD flash.events::Event/ctor () >> >> 1133 AVMINF: MTHD mx.managers::LayoutManager/waitAFrame () >> >> 1134 AVMINF: MTHD mx.managers::SystemManager/removeEventListener () >> >> 1134 AVMINF: MTHD flash.events::EventDispatcher/hasEventListener () >> >> 1134 AVMINF: MTHD flash.events::EventDispatcher/removeEventListener () >> >> Which doesn't help me that much. >> I'll keep digging. >> >> On Sun, May 15, 2011 at 1:44 PM, Marvin Froeder <[email protected]> wrote: >>> >>> No clue, I haven't tried 4.5.0 at all. >>> >>> Em 15/05/2011 09:27, "Nigel Magnay" <[email protected]> escreveu: >>> > I tried a really simple SWF, and it seems to bomb in the player (debug >>> > out: Warning: >>> > 'flash' has no property 'prototype') >>> > >>> > Works fine if I roll back to 4.1.0.16076, but was wondering if there's >>> > some >>> > option I'm missing before I start digging.. >>> > >>> > -- >>> > You received this message because you are subscribed to the Google >>> > Groups "Flex Mojos" group. >>> > To post to this group, send email to [email protected] >>> > To unsubscribe from this group, send email to >>> > [email protected] >>> > For more options, visit this group at >>> > http://groups.google.com/group/flex-mojos >>> > >>> > http://flexmojos.sonatype.org/ >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Flex Mojos" group. >>> To post to this group, send email to [email protected] >>> To unsubscribe from this group, send email to >>> [email protected] >>> For more options, visit this group at >>> http://groups.google.com/group/flex-mojos >>> >>> http://flexmojos.sonatype.org/ >> > > -- > You received this message because you are subscribed to the Google > Groups "Flex Mojos" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/flex-mojos > > http://flexmojos.sonatype.org/ > -- You received this message because you are subscribed to the Google Groups "Flex Mojos" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/
