Ok, your pom.xml is wrong then.... Flexmojos 4 has all features present on flexmojos 3, but it isn't full backward compatible, some (or many) configuration did changed. http://repository.sonatype.org/content/sites/flexmojos-site/4.0-alpha-4/compile-swf-mojo.html#localesCompiled
VELO On Tue, Jul 20, 2010 at 2:10 PM, Travel <[email protected]> wrote: > Sorry, typo. The pom.xml had > > > <compiledLocales> > > > <locale>en_US</locale> > > > <locale>fr_FR</locale> > > > </compiledLocales> > > > > Configuration report generated when 4.0-alpha-4 flexmojo is used: > > > ... > > > <locale> > > > <locale-element>en_US</locale-element> > > > </locale> > > > > Configuration report generated when 3.6.1 flexmojo is used: > > > .... > > > <locale> > > > <locale-element>en_US</locale-element> > > > <locale-element>fr_FR</locale-element> > > > </locale> > > On Jul 19, 5:50 pm, Marvin Froeder <[email protected]> wrote: > > Hrmmm, neither are right, both config.xml should contain en_UR, fr_FR and > > es_ES... > > > > Are you sure you looked at the right config file? > > > > VELO > > > > On Mon, Jul 19, 2010 at 9:34 PM, Travel <[email protected]> wrote: > > > I updated pom.xml to use flex.mojo.version 4.0-alpha-4 so I can use > > > locale chain in order to support more languages. The problem is after > > > switching to use 4.0-alpha-4, the configuration report xml shows only > > > one locale-element instead of all the languages specified in pom.xml. > > > If I switch the flex.mojo.version back to 3.6.1, the configuration > > > report xml shows the correct number of languages in locale-element. > > > What am I missing? > > > > > Pom.xml > > > <plugins> > > > <plugin> > > > <groupId>org.sonatype.flexmojos</groupId> > > > <artifactId>flexmojos-maven-plugin</artifactId> > > > <configuration> > > > <sourceFile>Subscriber.mxml</sourceFile> > > > <output>${project.build.directory}/Subscriber.swf</output> > > > <configurationReport>true</configurationReport> > > > <sourcePaths> > > > <path>${basedir}/src/main/flex</path> > > > <path>${basedir}/src/main/resources</path> > > > <path>${basedir}/src/main/resources/locale/{locale}</path> > > > </sourcePaths> > > > <resourceBundlePath>${basedir}/src/main/resources/locale/ > > > {locale}</resourceBundlePath> > > > <compiledLocales> > > > <locale>en_US</locale> > > > <locale>fr_FR</locale> > > > <locale>es_ES</locale> > > > </compiledLocales> > > > <skipTests>true</skipTests> > > > </configuration> > > > </plugin> > > > > > Configuration report generated when 4.0-alpha-4 flexmojo is used: > > > ... > > > <locale> > > > <locale-element>en_US</locale-element> > > > </locale> > > > ... > > > > > Configuration report generated when 3.6.1 flexmojo is used: > > > .... > > > <locale> > > > <locale-element>en_US</locale-element> > > > <locale-element>fr_FR</locale-element> > > > </locale> > > > ... > > > > > -- > > > 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%[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/
