Hey Bryan

Just put a fix for that
https://github.com/Flexmojos/flexmojos/commit/bf83f6672a21aab3c59e3c8d32da1e8063012166

Could you give it a try?

On Sat, Oct 2, 2010 at 3:51 PM, Bryan Turner <[email protected]> wrote:

> Will do. Unfortunately, it appears I will also have to modify FlexMojos
> internally a bit to make it work.
>
> If I define
> <themes>
>     <theme>themes/Spark/spark.css</theme>
>     <theme>themes/Halo/halo.swc</theme>
> </themes>
> in my pom.xml, FlexMojos fails to compile because the configs.zip is not
> extracted until later in the process, which means the spark.css and halo.swc
> cannot be found. This error happens *before* FlexMojos even attempts to
> compile--it appears it must be verifying the <theme> properties to ensure it
> can find the files before compilation.
>
> Do you have any suggestions on how I might go about enabling this? I'm
> happy to make the changes--I'm just looking for insight or suggestions into
> what you might do if it were you, since you know this code the best.
>  On Sat, Oct 2, 2010 at 10:42 AM, Marvin Froeder <[email protected]>wrote:
>
>> Well, give it a shot locally then....
>>
>>   On Sat, Oct 2, 2010 at 2:12 PM, Bryan Turner <[email protected]>wrote:
>>
>>>   Understandable reticence. The reason I ask is this. When I dump the
>>> configuration used by FlashBuilder to enable both Spark and Halo, I see
>>> this:
>>> <theme>
>>>     <filename>${flexlib}/themes/Spark/spark.css</filename>
>>>     <filename>${flexlib}/themes/Halo/halo.swc</filename>
>>> </theme>
>>>
>>> The configuration report emitted by FlexMojos looks like this:
>>> <theme>
>>>
>>> <filename>C:\Development\katasoft\am\fx\ui\target\classes\configs\themes\Spark\spark.css</filename>
>>> </theme>
>>>
>>> I may be wrong, but I'm *guessing* the themes/Spark/spark.css shown in
>>> my classes/configs directory is extracted from
>>> framework-4.1.0.16076-configs.zip. To me, this indicates that the
>>> configs.zip needs to be repackaged to include the three themes it is
>>> currently missing, or another dependency needs to be uploaded to the
>>> repository that allows me to pull down the halo.swc another way and specify
>>> it as a theme as well.
>>>
>>> On Sat, Oct 2, 2010 at 9:26 AM, Marvin Froeder <[email protected]>wrote:
>>>
>>>>  No matter the content of that file, if not properly configured you can
>>>> replace that file by the entire flex SDK and would change nothing....
>>>>
>>>> It is very, very, very, unlikely you will convince me to repack this
>>>> file w/o extra reasoning...
>>>>
>>>>   On Sat, Oct 2, 2010 at 1:12 PM, Bryan Turner 
>>>> <[email protected]>wrote:
>>>>
>>>>>  Based on what I see in the standard Flex SDK, it seems like the
>>>>> framework-4.1.0.16076-configs.zip is incomplete; there are 3 different
>>>>> themes it is not including and it seems like it should be. Is that 
>>>>> something
>>>>> that could possibly be repackaged? I'm going to install Eclipse and
>>>>> FlashBuilder today to see if I can investigate the exact compiler settings
>>>>> they use when enabling both Halo and Spark in comparison to the
>>>>> FlexMojos-generated settings to hopefully help nail down the exact 
>>>>> settings.
>>>>>
>>>>>   On Sat, Oct 2, 2010 at 9:09 AM, Marvin Froeder <[email protected]>wrote:
>>>>>
>>>>>>  That was me...
>>>>>>
>>>>>>   On Sat, Oct 2, 2010 at 1:08 PM, Bryan Turner <[email protected]
>>>>>> > wrote:
>>>>>>
>>>>>>>  All of these swcs and swfs and zips and other artifacts are not
>>>>>>> created/maintained by Adobe. Someone is uploading them to the FlexMojos
>>>>>>> repository. framework-4.1.0.16076-configs.zip is not provided by Adobe
>>>>>>> *at all*; someone zipped up various files from the Flex SDK to
>>>>>>> create it. I was asking if you were the one who was doing that work.
>>>>>>>
>>>>>>>   On Sat, Oct 2, 2010 at 8:51 AM, Marvin Froeder 
>>>>>>> <[email protected]>wrote:
>>>>>>>
>>>>>>>>  Not sure what you mean?
>>>>>>>>
>>>>>>>>   On Sat, Oct 2, 2010 at 12:48 PM, Bryan Turner <
>>>>>>>> [email protected]> wrote:
>>>>>>>>
>>>>>>>>>  Did you build framework-4.1.0.160760-configs.zip, or was it
>>>>>>>>> provided to you by someone else?
>>>>>>>>>
>>>>>>>>>   On Sat, Oct 2, 2010 at 7:36 AM, Marvin Froeder <velo.br@
>>>>>>>>> gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>>  Nothing here...
>>>>>>>>>>
>>>>>>>>>>   On Sat, Oct 2, 2010 at 4:44 AM, Bryan Turner <
>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>
>>>>>>>>>>>   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 <velo.br@
>>>>>>>>>>> gmail.com> 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]<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]<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]<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]<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]<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]<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/

Reply via email to