Makes no sense.... the only viable explanation is a wrong name.... path name
or file name.

Try to put locales on default location: src/main/locales/locale/en_US


VELO

On Tue, Jan 27, 2009 at 11:56 AM, [email protected] <
[email protected]> wrote:

>
> "resources" is indeed one of my recource-bundles
> the file "${basedir}/locale/en_US/resources.properties" exists
>
> On Jan 27, 2:46 pm, Marvin Froeder <[email protected]> wrote:
> > Is this resource bundel "resources" yours? Or from some library?
> >
> > If yours, does this file exists?
> > ${basedir}/locale/en_US/resources.properties
> >
> > VELO
> >
> > On Tue, Jan 27, 2009 at 11:33 AM, [email protected] <
> >
> > [email protected]> wrote:
> >
> > > Flex-mojos plugin is now configured as follows:
> > > <plugin>
> > >        <groupId>info.flex-mojos</groupId>
> > >        <artifactId>flex-compiler-mojo</artifactId>
> > >         <version>2.0.3</version>
> > >         <extensions>true</extensions>
> > >        <configuration>
> > >
>  <testRunnerTemplate>${project.build.testSourceDirectory}/
> > > Template.mxml</testRunnerTemplate>
> > >                <includeTestFiles>
> > >                        <include>*Tests.as</include>
> > >                </includeTestFiles>
> >
> > >  <resourceBundlePath>${basedir}/locale/{locale}</resourceBundlePath>
> > >                <mergeResourceBundle>false</mergeResourceBundle>
> > >                 <locales>
> > >                <param>en_US</param>
> > >                </locales>
> > >         </configuration>
> > > </plugin>
> > > Super-pom:
> > > <parent>
> > >        <artifactId>flex-super-pom</artifactId>
> > >         <groupId>info.flex-mojos</groupId>
> > >         <version>2.0.3</version>
> > > </parent>
> >
> > > Still get error:
> > > [ERROR] Unable to resolve resource bundle "resources" for locale
> > > "en_US".
> >
> > > On Jan 27, 2:07 pm, Marvin Froeder <[email protected]> wrote:
> > > > When you use locales configuration you should defined if they are
> merged
> > > or
> > > > not.
> > >http://docs.flex-mojos.info/flex-compiler-mojo/compile-swf-mojo.html#.
> ..
> >
> > > > That is why locales got deprecated.  Now, use compiledLocales or
> > > > runtimeLocales to do the trick.
> >
> > > > I suggest you using 2.0.3
> >
> > > > VELO
> >
> > > > On Tue, Jan 27, 2009 at 10:37 AM, [email protected] <
> >
> > > > [email protected]> wrote:
> >
> > > > > I am using flex-mojos 2.0M9 with the super-pom.
> > > > > The project I want to compile is a swf.
> > > > > This is the plugin config (without the configuration tag the
> project
> > > > > builds):
> > > > > <plugin>
> > > > >        <groupId>info.flex-mojos</groupId>
> > > > >        <artifactId>flex-compiler-mojo</artifactId>
> > > > >        <version>2.0M9</version>
> > > > >        <extensions>true</extensions>
> > > > >        <configuration>
> >
> > >  <testRunnerTemplate>${project.build.testSourceDirectory}/
> > > > > Template.mxml</testRunnerTemplate>
> > > > >                <includeTestFiles>
> > > > >                        <include>*Tests.as</include>
> > > > >                </includeTestFiles>
> > > > >        </configuration>
> > > > > </plugin>
> >
> > > > > I tried to add <locales><param>en_US</param></locales> to the
> > > > > configuration without success.
> >
> > > > > > Actually, it's the stuff below that, that looks like:
> > > > > > -compiler.library-path ....
> > > > > > -compiler.locale=
> > > > > > -compiler.namespaces.namespacehttp://
> > > > >www.adobe.com/2006/mxml/Users/logan/projects/fch/sisu/domain/c...
> > > > > > -compiler.optimize=true
> > > > > > -compiler.source-path ....
> >
> > > > > > but, that warning about locales being merged or not is a clue
> that
> > > > > > locales aren't setup correctly.
> >
> > > > > > Is this a swf or swc project? What version of flex-mojos are you
> > > > > > using? How do you define your locales? Do you use the flex-mojos
> > > > > > super-pom or not?
> >
> > > > > > 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