I think I may have found a starting point on what's different here between FlexMojos and Flex/FlashBuilder.
Looking through the framework-4.1.0.16076-configs.zip file (downloaded from the FlexMojos repository), I found that in the themes/ directory, only Spark was present. However, when you download the full SDK from Adobe, the themes/ directory contains: themes/ ....AeonGraphical/ ........AeonGraphical.css ........AeonGraphical.swc ....Halo/ ........halo.swc ....Spark/ ........spark.css ....Wireframe/ ........wireframe.swc So, it looks like in the full SDK (which is what Flex/FlashBuilder will use) there are three more themes present. I've repackaged my own framework-4.1.0-16076-configs.zip file which includes these additional themes, but I cannot figure out how to get FlexMojos to activate them. If I configure a <themes/> block in my <configuration/>, compilation fails because FlexMojos attempts to verify that the theme files exist before it unpacks the configs.zip into classes/. VELO, any thoughts? Does this help establish why Flex/FlashBuilder can use both Halo and Spark and FlexMojos won't? By the way, all my testing was done in FlexMojos 3.7.1, the latest 3.x release. I can't use FlexMojos 4.x because, unfortunately, I'm not in a position where upgrading to Maven 3 is possible. Bryan Turner On Fri, Sep 10, 2010 at 2:10 PM, Marvin Froeder <[email protected]> wrote: > Lemme rephrase that then... > I thought we already got into a consensus that is not possible TO DO ON > FLEX.... > > But if it is possible, give me the mxmlc/compc command proving that is > possible. > > > VELO > > > On Fri, Sep 10, 2010 at 5:56 PM, Miguel Bautista < > [email protected]> wrote: > >> It might not be possible to do in FlexMojos, but it works fine in >> Flash Builder.... >> >> On Sep 10, 4:48 pm, Marvin Froeder <[email protected]> wrote: >> > I thought we already got into a consensus that is not possible.... >> > >> > On Fri, Sep 10, 2010 at 5:29 PM, Miguel Bautista >> > <[email protected]>wrote: >> > >> > >> > >> > > Hi, >> > > I am also trying to figure out how to get Spark and Halo working in >> > > FlexMojos. In Eclipse, my project compiles and runs fine (using Halo >> > > and Spark), but the maven build fails. >> > > Using Flash Builder 4, all I do is set the "Component set" property to >> > > "MX + Spark" and updated the compiler argument to "-theme=${flexlib}/ >> > > themes/Halo/halo.swc". >> > >> > > Thanks >> > > Miguel >> > >> > > On Aug 27, 7:50 pm, earthwerm <[email protected]> wrote: >> > > > Hi Velo, >> > >> > > > I did some searching, and found this: >> > >> > > > -compatibility-version=3.3 -theme=${flexlib}/themes/Halo/halo.swc >> > >> > > > Have you ever tried something like this? >> > >> > > > Thanks, >> > > > -Werm >> > >> > > > On Jul 26, 11:46 am, Marvin Froeder <[email protected]> wrote: >> > >> > > > > As far I remember (and I can be absolutely wrong here) people >> figured >> > > that >> > > > > this isn't possible to do. At least, so far no one gave me an >> > > compc/mxmlc >> > > > > command that does that. Unless someone provides me that there is >> no >> > > action >> > > > > I can do. And just to clarify, the compc/mxmlc must include >> > > "-load-config=" >> > > > > so nothing is magically coming from a hidden flex-config.xml. >> > >> > > > > VELO >> > >> > > > > On Mon, Jul 26, 2010 at 3:37 PM, earthwerm < >> [email protected] >> > > >wrote: >> > >> > > > > > Flex 4 compiler seems to default toSparktheme (only). I like to >> have >> > > > > > bothHaloandSparkthemes. I am using Flexmojos 3.7.1 and Flex >> > > > > > 4.1.0.16076. >> > >> > > > > > There seem to be a couple of long threads in this google-group >> on >> > > this >> > > > > > topic, yet both with dangling ends that lead nowhere. >> > >> > > > > > This should be quite a common use-case when projects are moving >> from >> > > > > > Flex 3 to 4. Could somebody provide a straight answer, please? >> > >> > > > > > Thanks in advance, >> > >> > > > > > -Werm >> > >> > > > > > -- >> > > > > > 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]<flex-mojos%[email protected]> >> <flex-mojos%2bunsubscr...@googlegrou ps.com> >> > > <flex-mojos%2bunsubscr...@googlegrou ps.com> >> > > > > > For more options, visit this group at >> > > > > >http://groups.google.com/group/flex-mojos >> > >> > > > > >http://flexmojos.sonatype.org/-Hidequoted text - >> > >> > > > > - Show quoted text - >> > >> > > -- >> > > 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]<flex-mojos%[email protected]> >> <flex-mojos%2bunsubscr...@googlegrou ps.com> >> > > 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]<flex-mojos%[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]<flex-mojos%[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/
