Take a look on l10n samples.

http://svn.sonatype.org/flexmojos/branches/flex-mojos-2.0.x/test-harness/projects/concept/


VELO

On Fri, Jan 23, 2009 at 4:44 PM, Pedro Sena <[email protected]> wrote:

>
> I forgot to say that I put the locales directory inside my src/main/
> resources dir.
>
> is it the right place?
>
> I have the following structure:
>
> + src
>   + main
>      + flex
>      + resources
>         + locales
>            + pt_BR
>               lang.properties
>            + en_US
>               lang.properties
>
> Is it correct?
>
> Thanks
> On 23 jan, 15:41, Pedro Sena <[email protected]> wrote:
> > The compiler is priting this:
> >
> > [WARNING] Not defined if locales should be merged or not
> >
> > I'm using compiled locales.
> >
> > Regards,
> >
> > Pedro Sena
> >
> > On 23 jan, 15:37, Marvin Froeder <[email protected]> wrote:
> >
> > > No, but it should be printing a warning too saying locales is
> deprecated.
> >
> > > Are you using runtime or compiled locales?
> >
> > > VELO
> >
> > > On Fri, Jan 23, 2009 at 4:34 PM, Pedro Sena <[email protected]>
> wrote:
> >
> > > > Hi Marvin,
> >
> > > > It's working now, thanks a lot for the quick responses.
> >
> > > > One last question(a doubt):
> >
> > > > I used:
> >
> > > > <locales>
> > > >        <locale>pt_BR</locale>
> > > >        <locale>en_US</locale>
> > > >        <locale>es_ES</locale>
> > > > </locales>
> >
> > > > But the maven output prints:
> >
> > > > -compiler.locale en_US
> >
> > > > Is it the expected behavior?
> >
> > > > Thanks one more time :)
> >
> > > > Pedro Sena
> >
> > > > On 23 jan, 15:28, Marvin Froeder <[email protected]> wrote:
> > > > > Yes, it is a bug, at docs....
> >
> > > > > For some unknown reason I get can't docs updated.  Anyway this site
> will
> > > > be
> > > > > disable and a new one will be at sonatype forget.
> >
> > > > > You can't call it metadata!
> >
> > > > > Do like this and you will be fine:
> > > > >                                        <keepAs3Metadatas>
> >
> > > > >  <as3metadata>Bindable</as3metadata>
> > > > >                                        </keepAs3Metadatas>
> >
> > > > > VELO
> >
> > > > > On Fri, Jan 23, 2009 at 4:24 PM, Pedro Sena <[email protected]>
> > > > wrote:
> >
> > > > > > Now I'm having an error:
> >
> > > > > > Error
> >
> > > >
> message:org.codehaus.plexus.component.configurator.ComponentConfigurationException:
> > > > > > Cannot assign configuration entry 'metadata' to 'class
> > > > > > info.rvin.mojo.flexmojo.compiler.Metadata' from 'Bindable', which
> is
> > > > > > of type class java.lang.String
> >
> > > > > > Here is the snippet:
> >
> > > > > > <configuration>
> > > > > >                                        <locales>
> > > > > >
>  <locale>pt_BR</locale>
> > > > > >
>  <locale>en_US</locale>
> > > > > >
>  <locale>es_ES</locale>
> > > > > >                                        </locales>
> > > > > >                                        <keepAs3Metadatas>
> >
> > > > > >  <metadata>Bindable</metadata>
> > > > > >                                        </keepAs3Metadatas>
> > > > > >                                </configuration>
> >
> > > > > > Hope it's not a bug,hehe.
> >
> > > > > > Thanks,
> >
> > > > > > Pedro Sena
> >
> > > > > > On 23 jan, 15:05, Marvin Froeder <[email protected]> wrote:
> > > > > > > On flex-mojos is extras idea from israfil is banned :D
> >
> > > >
> http://docs.flex-mojos.info/flex-compiler-mojo/compile-swf-mojo.html#...
> >
> > > > > > > VELO
> >
> > > > > > > On Fri, Jan 23, 2009 at 4:04 PM, Pedro Sena <
> [email protected]>
> > > > > > wrote:
> >
> > > > > > > > Hi Marvin, thanks for the reply.
> >
> > > > > > > > The services-config.xml now its ok, I puit it under resources
> and
> > > > now
> > > > > > > > it is my compile arguments list.
> >
> > > > > > > > I look at the link and saw a lot of 'TODOs' w/o a specific
> example.
> >
> > > > > > > > What I want to do is (in israfil):
> >
> > > > > > > > <parameter>
> > > > > > > >    <name>keep-as3-metadata</name>
> > > > > > > >    <values>
> > > > > > > >       <value>ValueHere</value>
> > > > > > > >    </values>
> > > > > > > > </parameter>
> >
> > > > > > > > I tried differents approaches, but w/o success.
> >
> > > > > > > > How should I do this?
> >
> > > > > > > > Thanks,
> >
> > > > > > > > Pedro Sena
> >
> > > > > > > > On 23 jan, 14:26, Marvin Froeder <[email protected]> wrote:
> > > > > > > > > Hey,
> >
> > > > > > > > > If you put a file called services-config.xml at
> > > > src/main/resources,
> > > > > > no
> > > > > > > > > configuration is required.
> >
> > > > > > > > > You can see the complete configuration list here:
> > > > > > > >http://docs.flex-mojos.info/
> >
> > > > > > > > > VELO
> >
> > > > > > > > > On Fri, Jan 23, 2009 at 3:23 PM, Pedro Sena <
> > > > [email protected]>
> > > > > > > > wrote:
> >
> > > > > > > > > > Hi guys,
> >
> > > > > > > > > > How should I add compiler arguments?
> >
> > > > > > > > > > I need to specify a services-config.xml file to be
> considered
> > > > in
> > > > > > > > > > compilation.
> >
> > > > > > > > > > I need to specify other parameters as well.
> >
> > > > > > > > > > I tried the <dataServicesConfig> tag like in israfil but
> w/o
> > > > > > success.
> >
> > > > > > > > > > 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