Hi Velo,

I'v redefined my pom to :
        ...
        <dependencies />

        <build>
                <sourceDirectory>src/main/flex</sourceDirectory>
                <plugins>
                        <plugin>
                                <groupId>org.sonatype.flexmojos</groupId>
                                <artifactId>flex-maven-plugin</artifactId>
                                <version>3.0-SNAPSHOT</version>
                                <extensions>true</extensions>
                                <configuration>
                                        <sourcePaths>
                                                
<sourcePath>${project.build.sourceDirectory}</sourcePath>
                                        </sourcePaths>
                                        <runtimeLocales>
                                                <locale>en_US</locale>
                                                <locale>pt_BR</locale>
                                        </runtimeLocales>
                                </configuration>
                        </plugin>
                </plugins>
        </build>


But have the same error:
Error: Unable to resolve resource bundle "rpc" for locale "pt_BR".

Error: Unable to resolve resource bundle "messaging" for locale
"pt_BR".


In my parent pom I've declared the following repo:
    <repositories>
                <repository>
                        <id>flex-repository</id>
                        
<url>http://repository.sonatype.org/content/repositories/flex/</
url>
                </repository>
                <repository>
                        <id>flex-mojos-repository</id>
                        
<url>http://repository.sonatype.org/content/repositories/sonatype-
flex-snapshots</url>
                </repository>
    </repositories>

    <pluginRepositories>
                <pluginRepository>
                        <id>flex-repository</id>
                        
<url>http://repository.sonatype.org/content/repositories/flex/</
url>
                </pluginRepository>
                <pluginRepository>
                        <id>flex-mojos-repository</id>
                        
<url>http://repository.sonatype.org/content/repositories/sonatype-
flex-snapshots</url>
                        <snapshots>
                                <enabled>true</enabled>
                        </snapshots>
                </pluginRepository>
    </pluginRepositories>


Thanks for ur time,
Jorge

On 4 mar, 15:52, Marvin Froeder <[email protected]> wrote:
> Well, the way you did that should work on flexmojos 1.0.  But won't work on
> 2.0.*
>
> Take a look on this 
> sample:http://svn.sonatype.org/flexmojos/branches/flex-mojos-2.0.x/test-harn...
>
> VELO
>
> On Wed, Mar 4, 2009 at 3:32 PM, Jorge <[email protected]> wrote:
>
> > Hi Pedro,
>
> > How did you configured ur SWF pom to use pt_BR locale?
>
> > I've tried a lot of configurations but still getting these errors:
> > Error: Unable to resolve resource bundle "rpc" for locale "pt_BR".
>
> > Error: Unable to resolve resource bundle "messaging" for locale
> > "pt_BR".
>
> > This is my current SWF pom config:
> >        ...
> >        </dependencies>
> >                <dependency>
> >                        <groupId>com.adobe.flex.framework</groupId>
> >                        <artifactId>framework</artifactId>
> >                        <version>3.2.0.3958</version>
> >                        <type>resource-bundle</type>
> >                        <classifier>pt_BR</classifier>
> >                </dependency>
> >                <dependency>
> >                        <groupId>com.adobe.flex.framework</groupId>
> >                        <artifactId>rpc</artifactId>
> >                        <version>3.2.0.3958</version>
> >                        <type>resource-bundle</type>
> >                        <classifier>pt_BR</classifier>
> >                </dependency>
> >        </dependencies>
> >        <build>
> >                <sourceDirectory>src/main/flex</sourceDirectory>
> >                <plugins>
> >                        <plugin>
> >                                <groupId>org.sonatype.flexmojos</groupId>
> >                                <artifactId>flex-maven-plugin</artifactId>
> >                                <version>3.0-SNAPSHOT</version>
> >                                <extensions>true</extensions>
> >                                <configuration>
> >                                        <sourcePaths>
>
> >  <sourcePath>${project.build.sourceDirectory}</sourcePath>
> >                                        </sourcePaths>
>
> >  <mergeResourceBundle>false</mergeResourceBundle>
>
> >  <resourceBundlePath>${basedir}/locale/{locale}</
> > resourceBundlePath>
> >                                         <locales>
> >                                                <locale>pt_BR</locale>
> >                                         </locales>
> >                                </configuration>
> >                        </plugin>
> >                </plugins>
> >        </build>
>
> > What I'm doing wrong?
>
> > thx
> > Jorge
>
> > On 23 jan, 16:53, Pedro Sena <[email protected]> wrote:
> > > I figured out that what I was looking for is compiledLocales.
>
> > > They worked fine.
>
> > > Thanks
>
> > > On 23 jan, 16:44, Marvin Froeder <[email protected]> wrote:
>
> > > > Run mvn -U install.... probably some cache...pt_BRis there too.
>
> > > > VELO
>
> > > > On Fri, Jan 23, 2009 at 5:42 PM, Pedro Sena <[email protected]>
> > wrote:
>
> > > > > It work for en_US and es_ES.
>
> > > > > But fails forpt_BR:
>
> > > > > Error: Unable to resolve resource bundle "rpc" for locale "pt_BR".
>
> > > > > Error: Unable to resolve resource bundle "messaging" for locale
> > > > > "pt_BR".
>
> > > > > Why is it complaning about 'rpc' and 'messaging' ?
>
> > > > > Was I supposed to have those files in mypt_BRdir ?
>
> > > > > Regards,
>
> > > > > On 23 jan, 16:26, Marvin Froeder <[email protected]> wrote:
> > > > > > Yes it is on sonatype public repo:
>
> >http://repository.sonatype.org/content/groups/public/com/adobe/flex/f...
>
> > > > > > VELO
>
> > > > > > On Fri, Jan 23, 2009 at 5:23 PM, Pedro Sena <[email protected]>
> > > > > wrote:
>
> > > > > > > Hi,
>
> > > > > > > Now I managed to configure it.
>
> > > > > > > The maven it's complaining about 'artifact not found' because it
> > tries
> > > > > > > to download the rpc-3.2.0.3958-pt_BR.rb.swc
>
> > > > > > > I took a look and its the swc generated when you use the
> > copylocale
> > > > > > > tool from adobe.
>
> > > > > > > The is some repository in web where these files are stored ? I
> > would
> > > > > > > install mine if not, but not sure if mine is exactly the same
> > version
> > > > > > > (its 3.2.0, but the don't know if is 3958 )
>
> > > > > > > Are you guys installing this ones in these cases ?
>
> > > > > > > Thanks
>
> > > > > > > On 23 jan, 15:59, RedBugz Software <[email protected]> wrote:
> > > > > > > > On Fri, Jan 23, 2009 at 11:50 AM, Marvin Froeder <
> > [email protected]>
> > > > > > > wrote:
> > > > > > > > > Take a look on l10n samples.
>
> > > > >http://svn.sonatype.org/flexmojos/branches/flex-mojos-2.0.x/test-harn
> > .
> > > > > > > ..
>
> > > > > > > > Except most of those haven't been updated to compiled/runtime
> > > > > locales.
> > > > > > > > But this one has:
>
> >http://svn.sonatype.org/flexmojos/branches/flex-mojos-2.0.x/test-harn...
>
> > > > > > > > Logan
--~--~---------~--~----~------------~-------~--~----~
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?hl=en?hl=en

http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---

Reply via email to