On Mon, Mar 29, 2010 at 8:00 PM, Marc Speck <[email protected]> wrote:
> > > On Mon, Mar 29, 2010 at 7:17 PM, Marvin Froeder <[email protected]> wrote: > >> >> >> On Mon, Mar 29, 2010 at 2:02 PM, Marc Speck <[email protected]> wrote: >> >>> Hi Velo >>> >>> On Mon, Mar 29, 2010 at 6:33 PM, Marvin Froeder <[email protected]>wrote: >>> >>>> >>>> >>>> On Mon, Mar 29, 2010 at 1:04 PM, Marc Speck <[email protected]>wrote: >>>> >>>>> >>>>> >>>>> On Mon, Mar 29, 2010 at 5:46 PM, Marvin Froeder <[email protected]>wrote: >>>>> >>>>>> I'm trying to switch to cached framework libraries and it's not as >>>>>>> easy as I hoped for... Below is my current pom.xml for testing. >>>>>>> >>>>>>> - Is there an easier way to cache the framework libs? >>>>>>> >>>>>> Not sure what you mean here. >>>>>> >>>>> My app.swf should not contain any Adobe Flex framework code but usel >>>>> *.swz on the client side. Is there a more concise way to declare that than >>>>> in the posted pom? >>>>> >>>> Not, that is it.... but I found that a very succinct way to do.... do >>>> you have any suggestions to make it more concise? >>>> >>>> It is indeed a succinct way if you want to declare it for each framework >>> library. I thought more of an option like <use-framework-caching> and >>> flex-mojos adds all RSL paths. This is now possible since Adobe hosts the >>> swz. I'm even fine if this is done by default. If you want to host swz on >>> your own server, then you fall back to the posted pom syntax. It's just an >>> idea though, maybe somebody else has a better solution. >>> >> >> No a configuration like that is not an option.... why?! SWZ is only >> available on releases, but you still can use rsl..... also, not all >> framework swcs has swzs, and I don't like hardcoding rules inside my >> code..... you also may only use framework.swz but not rpc.swz, so right now >> that is fully configurable..... also the current code is extremely simple, >> just change the ones you need.... >> >> > > Ok. > > > >> >>> >>> >>>> >>>> >>>>> >>>>> >>>>>> >>>>>>> - If no, how can I specify textLayout? >>>>>>> http://repository.sonatype.org/content/groups/flexgroup/com/adobe/flex/framework/has >>>>>>> "text-Layout" and "textLayout". For 4.0.0.14159 there is only >>>>>>> "text-layout" but Adobe has its swz named "textLayout", so the Flash >>>>>>> Player >>>>>>> cannot find the swz. >>>>>>> >>>>>> Extremely no cool =( >>>>>> >>>>> >>>>> Forgot to mention that textLayout also has an other version number e.g. >>>>> 1.0.0.595 and not 4.0.0.14159. >>>>> >>>> >>>> Ow, I can't deal with version individually for each library inside the >>>> flex SDK, I will always set the version for everything included on flex >>>> bundle as the flex bundle itself, so 4.0.0.14159 .... >>>> >>>> >>> Ok, so flex-mojos 3.6 cannot use textLayout.swz on Adobe's server. A >>> workaround is to host all swz yourself. >>> >>> This has nothing to do with flexmojos 3.6 nor with flexmojos at all. >> >> > The main problem is adobe doesn't distribute flex SDK on a flex consumable >> way. If they do, it would work nice. >> > > If you mean, Adobe should take care of pushing Flex into a public maven > repository, I 100% agree. It's about time. > > You are right that hosting textLayout.swc under the correct version solves > the problem. > In case somebody else tries that, it doesn't work. The path of textLayout also differs with "tlf" to "flex": http://fpdownload.adobe.com/pub/swz/tlf/1.0.0.595/textLayout_1.0.0.595.swz http://fpdownload.adobe.com/pub/swz/flex/4.0.0.14159/framework_4.0.0.14159.swz the location of osmf is also quite "creative": http://fpdownload.adobe.com/pub/swz/flex/4.0.0.14159/osmf_flex.4.0.0.13495.swz -- 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/ To unsubscribe from this group, send email to flex-mojos+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
