If runtimeLocales or compiledLocales != null then resourceBundlePath is
required.
Simple like that.

Just remember, for runtime localized then compiler will be invoked twice.
 The sourcePath will only include resourceBundlePath on the second run.




VELO

On Wed, Apr 8, 2009 at 2:51 PM, Garry <[email protected]> wrote:

>
> Hi Velo,
>
> I appreciate your patience. I'm not sure what you mean by "check if
> resourceBundlePath is required before adding it".
> My POM *does* specify both resourceBundlePath *and* runtimeLocales
> (see above) and I'm *not* seeing my locale
> path on compiler.source-path. How does the mojo check if the
> resourceBundlePath is required? The presence of the
> resourceBundlePath tag in the POM doesn't trigger inclusion?
>
> Thanks, Garry
>
>
> On Apr 8, 1:08 pm, Marvin Froeder <[email protected]> wrote:
> > Flexmojos will check if resourceBundlePath is required before add it....
> > So, if you app has runtimeLocales or compileLocales it will include
> > resourceBundlePath on sourcePaths.  If not this parameter is ignored....
> >
> > VELO
> >
> > On Wed, Apr 8, 2009 at 1:57 PM, Garry <[email protected]> wrote:
> >
> > > Hi,
> >
> > > 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?
> >
> > > Thanks, Garry
> >
> > > On Apr 8, 11:38 am, Logan Allred <[email protected]> wrote:
> > > > On Wed, Apr 8, 2009 at 9:33 AM, Marvin Froeder <[email protected]>
> > > wrote:
> > > > > Are you sure you are not changing sourcePaths?
> > > > > Post more console output
> >
> > > > Specifically, the -compiler.* settings, the locale path should be on
> > > > -compiler.source-path. Flexmojos normally adds it for you, but if
> > > > you've override the defaults, you have to do it yourself.
> >
> > > > 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