I promisse I will review and apply the patch when submitted. Sent from DROID
Em 13/08/2010 17:03, "maxmil" <[email protected]>escreveu: OK. Have had a look but its a bit of a muddle. In the distributed version of the flex sdk the es_ES locale (and quite a few others) lack the flash-integration_rb.swc and playerglobal_rb.swc. As mentioned earlier in this thread and in the Adobe docs the advised way to generate a new locale is using the copylocal command line utility. This just runs the java class flex2.tools.CopyLocale. The source can be found here: http://opensource.adobe.com/svn/opensource/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/CopyLocale.java This copies and recompiles all the projects in the sdk framework/ projects directory from an existing locale to the new locale ONLY IF THE PROJECT HAS A bundles SUB DIRECTORY. In the distruibuted version of the 4.1 SDK that i have the playerglobal project does not exist and the flash-integration project has no bundles directory. Hence even if i run copylocale these swc's are not generated in my new locale. Looking at the source for these two projects in Adobe's repository it seems to me that neither contain localized resources. Hence i think that it is safe to copy the swc's from de default (en_US) locale. I guess that compilation in flexbuilder is configured to always use these swc's in the en_US locale which always exists and therefore does not run into problems when compiling for other locales. I suppose flexmojos could do the same but since this seems undocumented and i guess that these projects could become localized at some time in the future i suppose that this would be a bad idea. For me the workaround in order to compile with flexmojos and the es_ES locale has been to manually import the swc's from the en_US locale into my locale maven repository with the classifier es_ES. Sorry for the rant and i hope that this is useful for somebody somewhere. On Aug 4, 8:44 am, maxmil <[email protected]> wrote: > When i have time i'll try to have a look in... > > > command withlocale=es_ESit compiles fine even though no > > > playerglobal_rb.swc exists in <flex-sdk>/frameworks/locale/es_ES. > > > > However when i inclu... > > > classifieres_ES > > > > On Aug 3, 2:04 pm, Marvin Froeder <[email protected]> wrote: > > > > On Tue, Aug 3, 2010 at ... > > > > > playerglobal_rb.swc does not exist in the sdk in thelocalees_ES > > > (Neither > > > > > in this version nor the 4.0 release) > > > > > > Is this an oversight of ad... > > > > > From the command line i can invoke mxmlc with locales=es_ESand compile > > > > > without the playerglobal_rb.swc. I suppose that the compiler uses a > > > default > > > > ... > > > > >> The flash integration dependencies for thelocalees_ESare not > > > > >> published in the repository (the list of published locales for the > > > > >> 4.1.0.16248... > > > > > [email protected]<flex-mojos%[email protected]> <flex-mojos%2bunsubscr...@googlegrou ps.com> > > > <flex-mojos%[email protected]<flex-mojos%[email protected]> <flex-mojos%252bunsubscr...@googl egroups.com> > > > > > > For more options, visit this group at > > > > >http://groups.google.com/group/flex-mojos... > > > [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 > > > >ht... -- 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/
