Could you write this migration instructions on wiki?

VELO

On Tue, Jul 20, 2010 at 7:18 PM, Travel <[email protected]> wrote:

> Thanks Marvin & Lorenzo, The problem is fixed when I replaced
> compiledLocales with localesCompiled.
>
> For the benefit for others, here is a summary of the issue:
>
> Summary
> ========
> Problem symptom: Upgraded to use flexmojos 4.0-alpha 4 from flexmojos
> 3.6.1, compilation only includes en_US language in swf, even when
> other languages were specified in pom.xml.  With the same pom.xml, the
> problem wasn't there with flexmojos 3.6.1
>
> Reason:
> For Flexmojos 4.0-alpha 4, use localesCompiled as follow:
> <localesCompiled>
>             <locale>en_US</locale>
>            <locale>fr_FR</locale>
>            <locale>es_ES</locale>
> </localesCompiled>
>
> For Flexmojos 3.6.1, use compiledLocales as follow:
> <compiledLocales>
>            <locale>en_US</locale>
>            <locale>fr_FR</locale>
>            <locale>es_ES</locale>
> </compiledLocales>
>
> On Jul 20, 10:13 am, Marvin Froeder <[email protected]> wrote:
> > 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...
> >
> > 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]>
> >
> > > <flex-mojos%[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]>
> <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/

Reply via email to