Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Flex
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Flex
Flex 3 locales
Justin Chi
Greenhorn
Posts: 25
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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?
JavaRanch FAQ
HowToAskQuestionsOnJavaRanch
Justin Chi
Greenhorn
Posts: 25
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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.
[INFO] ************************************************************************* ** [INFO] Flex Mojo - Making swf using Adobe(R) Flex(TM) compiler API [INFO] ************************************************************************* ** [INFO] Output Directory : ..\src\main\webapp\swf [DEBUG] Adding dependency to the ActionScript compiler path (embedded into bytecode) : [DEBUG] -> Embedding framework-3.5.0.12683.swc [DEBUG] Adding dependency to the ActionScript compiler path (embedded into bytecode) : [DEBUG] -> Embedding flex-3.5.0.12683.swc [DEBUG] Adding dependency to the ActionScript compiler path (embedded into bytecode) : [DEBUG] -> Embedding rpc-3.5.0.12683.swc [DEBUG] Adding dependency to the ActionScript compiler path (embedded into bytecode) : [DEBUG] -> Embedding utilities-3.5.0.12683.swc [DEBUG] Adding dependency to the ActionScript compiler path (embedded into bytecode) : [DEBUG] -> Embedding framework_rb-3.5.0.12683.swc [DEBUG] Adding dependency to the ActionScript compiler path (embedded into bytecode) : [DEBUG] -> Embedding rpc_rb-3.5.0.12683.swc [DEBUG] Adding dependency to the ActionScript compiler path (embedded into bytecode) : [DEBUG] -> Embedding mate-framework-0.8.9.swc [DEBUG] Adding dependency to the ActionScript compiler path (external linking) : [DEBUG] -> Linking playerglobal.swc [INFO] Building locale en_US [INFO] Loading configuration file ..\src\main\webapp\swf\compiler-resources\flex-config.xml [INFO] Loading configuration file ..\src\main\webapp\swf\compiler-resources\flex-config.xml [INFO] Running optimizer... [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------
You get good luck from rubbing the belly of a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
maven subversion
Beginning Java and Flex: Wich version of flex is this book based on? Do you use flex SDK, flex build
maven java:compile
Wagon-ssh with Maven 2.2
Build problem with maven and eclipse web project
More...