Speaking of that. We often have that issue and are forced to "copyLocale" a bunch of files and publish it on our nexus repository. I wanna know if there is some community effort to set up a public maven repository for "localized" framework rb (which will be simple copies of en_US rb) ? Is there somebody that share the interest ? We might consider open that repository on the web.

--
Simon

Le 28/05/2010 14:10, Marvin Froeder a écrit :
You can't build an SWF/SWC w/o providing rb:swc for all locales you want.

VELO

On Fri, May 28, 2010 at 9:07 AM, Matt C <[email protected] <mailto:[email protected]>> wrote:

    I added another locale in the <runtimeLocales> section, and it doesn't
    seem to work - I get the following compile error:

    Unable to find resource
    'com.adobe.flex.framework:datavisualization:rb.swc:en_GB:4.0.0.14159'
    in repository central (http://repo1.maven.org/maven2)

    Which means that it is trying to download the localised version of the
    datavis module - which I don't want: I only want the localised version
    of my own resource bundle.

    Any ideas?

    Matt


    On May 28, 12:54 pm, Matt C <[email protected]
    <mailto:[email protected]>> wrote:
    > Could be!
    >
    > Here's the flexmojos plugin from my pom.xml file now:
    >
    > <plugin>
    > <groupId>org.sonatype.flexmojos</groupId>
    > <artifactId>flexmojos-maven-plugin</artifactId>
    > <configuration>
    > <runtimeLocales>
    > <locale>en_US</locale>
    > </runtimeLocales>
    > <sourcePaths>
    > <path>src/main/locales/{locale}</path>
    > </sourcePaths>
    > <rslUrls>
    > <rsl>{artifactId}-{version}.{extension}</rsl>
    > </rslUrls>
    > <themes>
    > <theme>${project.build.directory}/themes/halo.swc</
    > theme>
    > </themes>
    > <includeResourceBundles>
    > <bundle>resources</bundle>
    > </includeResourceBundles>
    > </configuration>
    > <dependencies>
    > <dependency>
    > <groupId>com.adobe.flex</groupId>
    > <artifactId>compiler</artifactId>
    > <type>pom</type>
    > <version>${flex-framework.version}</version>
    > </dependency>
    > </dependencies>
    > </plugin>
    >
    > Per my original post, the localisation file (there's only one
    for each
    > locale) is located in src/main/locales/{locale} - and is called
    > "resources.properties".
    >
    > Does that look like the correct usage to you?
    >
    > Matt
    >
    > On May 28, 12:46 pm, Logan Allred <[email protected]
    <mailto:[email protected]>> wrote:
    >
    >
    >
    > > On Fri, May 28, 2010 at 4:40 AM, Matt C <[email protected]
    <mailto:[email protected]>> wrote:
    > > > I want to be able to specify which bundles go into the
    runtime locale
    > > > file.
    >
    > > > The Flex compiler allows me to do this, so I'm assuming
    Flexmojos will
    > > > too.
    >
    >
    >http://sites.sonatype.org/flexmojos/flexmojos-maven-plugin/compile-sw...
    >
    > > Is that what you need?
    >
    > > 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]
    <mailto:[email protected]>
    To unsubscribe from this group, send email to
    [email protected]
    <mailto: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/

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