OK, I thought FM4 was backward compatible. Do you have a migration guide from FM3 to MF4?
I have checked the doc, and I found "localesSourcePath", which seems to supersede "resourceBundlePath". I have explicitly defined it, but it still doesn't work. Locale path is not added to my source path. Does someone have a successful example of building localized Flex code with FM4? On Oct 17, 10:27 pm, Marvin Froeder <[email protected]> wrote: > FM4 is not a drop in replacement for FM3.... > > Many configurations got renamed, others removed and many others added. > > > > On Sun, Oct 17, 2010 at 10:25 AM, Antoine <[email protected]> wrote: > > I don't know what you mean by "configure it". What I notice is: the > > exact same pom file works for Flexmojos 3.8 and not Flexmojos 4.0. > > > If you mean: explicitly set resourceBundlePath, I don't think it is > > needed, because the default value is src/main/locales/{locale} > > (In Flexmojos 3.8, it works without defining it explicitly) > > > However, I just tried to define it explicitly: > > <resourceBundlePath>src/main/locales/{locale}</ > > resourceBundlePath> > > and it did not work either. > > > On Oct 17, 9:02 pm, Marvin Froeder <[email protected]> wrote: > > > did you configure it? > > > > Sent from DROID > > > > Em 17/10/2010 03:29, "Antoine" <[email protected]>escreveu: > > > > I tried Flexmojos 4.0 today, with Maven 3.0, and I got a strange error > > > regarding localization: > > > > Error: unable to resolve bundle "example" for locale "en_US". > > > > I tried the exact same project with Flexmojos 3.8 (and Maven 3.0) and > > > the build is successful. > > > I then ran "mvn -X install" and checked the detailed output, and I > > > found the following anomaly: > > > With Flexmojos 4.0, the "compiler.source-path" option only contains > > > the path to my sources, while with Flexmojos 3.8, it also contains the > > > path to my locales. > > > > Flexmojos 4.0: > > > -compiler.source-path=C:\...\src\main\flex > > > > Flexmojos 3.8: > > > -compiler.source-path C:\...\src\main\flex C:\...\src\main\locales\ > > > {locale} > > > > It seems like Flexmojos 4.0 forgets to add ${resourceBundlePath} to > > > the "compiler.source-path" option... > > > > -- > > > 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%2bunsubscr...@googlegrou > > > ps.com> > > <flex-mojos%2bunsubscr...@googlegrou ps.com> > > > For more options, visit this group athttp:// > > 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%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] For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/
