Thanks a lot, it's exactly what I want.
So now I have all my swc files (rb.swc, fr_FR.rb.swc,
en_US.rb.swc, ...)
In my library, I have a bundle, I tried to include it in my library.
But when I use it in my main application, it don't find it

here is a part of my library pom file :

<plugin>
        <groupId>org.sonatype.flexmojos</groupId>
        <artifactId>flexmojos-maven-plugin</artifactId>
        <version>${flexmojos.version}</version>
        <extensions>true</extensions>
        <configuration>
                <allowSourcePathOverlap>true</allowSourcePathOverlap>
                <targerPlayer>${player.version}</targerPlayer>
                <compilerWarnings>
                        
<show-actionscript-warnings>false</show-actionscript-warnings>
                        <warn-bad-nan-comparison>false</warn-bad-nan-comparison>
                </compilerWarnings>
                <showWarnings>false</showWarnings>
                <localesRuntime>
                        <locale>fr_FR</locale>
                        <locale>en_US</locale>
                </localesRuntime>
                <includeResourceBundles>
                        <bundle>websolution</bundle>
                </includeResourceBundles>
                <resourceBundlePath>${basedir}/ressource/lang/{locale}</
resourceBundlePath>
                <!-- 
localesSourcePath>ressource/lang/{locale}</localesSourcePath --
>
                <rslUrls>
                        <rsl>../rsls/{artifactId}-{version}.{extension}</rsl>
                </rslUrls>
        </configuration>
        ...
</plugin>

And a part of my main application pom file :

<dependency>
        <groupId>myGroup</groupId>
        <artifactId>myLib</artifactId>
        <version>1.0-SNAPSHOT</version>
        <type>swc</type>
</dependency>
<dependency>
        <groupId>myGroup</groupId>
        <artifactId>myLib</artifactId>
        <version>1.0-SNAPSHOT</version>
        <type>rb.swc</type>
</dependency>

And the error message :

Error: Unable to resolve resource bundle "websolution".

I don't know what I missed to include my bundle

Thanks

Bye

On 17 nov, 17:59, Christofer Dutz <[email protected]>
wrote:
> Hi Loïc,
>
> Have you had a look at 
> this?https://docs.sonatype.org/display/FLEXMOJOS/Application+Localization
>
> Hope it solves your question.
>
> Chris
>
> 2011/11/17 Loïc Mésières <[email protected]>:
>
>
>
>
>
>
>
> > Hi,
>
> > I'm developping a library with resource bundles.
> > And I would like to localized my library like rpc library or others in
> > the framework and create the localized files :
> > - .swc
> > - rb.swc
> > - en_US.rb.swc
> > - fr_FR.rb.swc
> > - ...
>
> > I didn't found anything about this.
>
> > Thanks in advance
>
> > Bye.
>
> > --
> > 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/

-- 
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