Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Flex 3 locales

 
Justin Chi
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have probelms applying locales features to flex application.

I am using maven flex plugin to build my application like "mvn flex:makeswf -Dlocales=fr_FR"

But below is the info shown on maven console:
[INFO] Building locale en_US

My POM is here http://dpaste.com/hold/228295/

Maven flex refer : http://maven.servebox.org/sites/maven-flex-plugin/flex-plugin/makeswf-mojo.html

Please note that it works with en_US , so my folder structure is correct.

Thanks advance for your help.

Justin C
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure how the Maven task works, but the Flex compiler just uses -locale=fr_FR to do this. Can you turn on verbose output for Maven to see if it passe that system parameter correctly?
 
Justin Chi
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Paul . and yes , you are right about what Flex compiler does.

But maven plugin has discarded "locale" parameter and replacement is "locales".

Below is the maven output with -X , seems not very useful.



 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic