You don't.

Just change resourceBundlePath:
http://docs.flex-mojos.info/flex-compiler-mojo/compile-swf-mojo.html#resourceBundlePath

But it is unique, so you won't be able to add more then one.


VELO

On Mon, Jan 26, 2009 at 5:19 PM, Pedro Sena <[email protected]> wrote:

>
> Marvin,
>
> How can I add the relative paths?
>
> <locales>
> <locale>MyPathHere</locale>
> </locales>
>
> Will this work?
>
> Thanks
>
>
> On 26 jan, 15:05, Marvin Froeder <[email protected]> wrote:
> > Well, this is maven.... usually you don't share sources between artifacts
> > (something common on ant)....
> >
> > If module A needs MyStuff.properties, you put MyStuff.properties at
> Module
> > A.  Now, if Module A and module B requires MyStuff.properties you fall
> into
> > a problem.
> >
> > You could break MyStuff into pieces and put only necessary property on
> each
> > projects.
> > You can keep MyStuff in one piece, and move MyStuff and what depends on
> it
> > to a Module C.
> > You can duplicate the code.  (the BEaST idea I had today :D )
> > You can add relative paths...   ../src/main/locales/{locale}  (will break
> if
> > someone try to work with one module alone.  And don't work well on IDEs)
> >
> > May be you could add all locales in one SWC and use this SWC on each
> > project.
> >
> > If this last option doesn't work, I recomment trying one of the first 2
> > alternatives.  Meaning you will change your code to keep following maven
> > standards.
> >
> > VELO
> >
> > On Mon, Jan 26, 2009 at 3:50 PM, Pedro Sena <[email protected]>
> wrote:
> >
> > > Hi Guys,
> >
> > > I was working w/o problems with locales, but now I've changed my
> > > project layout to fit the modular layout
> >
> > >http://svn.sonatype.org/flexmojos/tags/flex-mojos-2.0/test-harness/pr.
> ..
> >
> > > So far so good, I made everything work together fine. But now I want
> > > to share the locales between modules, even better, I want just one
> > > locales folder to be compiled in all my modules.
> >
> > > How can I make this ?
> >
> > > Thanks in advance,
> >
> > > Pedro Sena
> >
>

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