Hi Logan, Was hoping to short-circuit that debugging procedure but may have to do it. And yes, it is possible I have an old locale in a parent; I'll check it out. Let me mention one more thing in case it is significant. In addition to not finding my own property file, I also get this error:
[ERROR] Unable to resolve resource bundle "charts" for locale "en_US". which refers, I gather, to a charts.property file used by Flex data visualization. I was using data viz with mojo 2.x and never saw this message. Something new in flex-mojos 3.x or am I now using a newer version of data visualization that requires this resource? Thanks, Garry On Apr 8, 2:08 pm, Logan Allred <[email protected]> wrote: > On Wed, Apr 8, 2009 at 10:57 AM, Garry <[email protected]> wrote: > > You are correct that my locale path is *not* in compiler.source-path: > > > -compiler.source-path /Users/Garry/eclipse/workspace/project/flex_app/ > > src/main/flex > > > What is the purpose of saying the following if not to add it to the > > source-path?: > > > <resourceBundlePath>/Users/Garry/eclipse/workspace/project/flex_app/ > > src/main/locales/{locale}</resourceBundlePath> > > > How do I add my locale to the source path? Is there a mojo mechanism > > to do it? > > > I didn't intend to override the defaults. Without looking at my full > > POM, can you tell/guess how I'm doing it? > > Not really. A lot can depend on your parent pom as well. > > Check out the example that Velo listed before in > subversion:http://svn.sonatype.org/flexmojos/trunk/flexmojos-testing/flexmojos-t... > change the %{flexmojos.version} in the pom.xmls (lib and app) to the > version you are using (3.0.0, 3.1.0, etc.) and run mvn install in that > directory. > > It will correctly build the localizations. Look at that output and the > pom, see why yours is different. Or start modifying the sample to look > more like yours until it fails. > > Any chance you still have some old <locales> sections in your pom from > a parent or old version? > > 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/ -~----------~----~----~----~------~----~------~--~---
