qickrooms / flex-mojos

Automatically exported from code.google.com/p/flex-mojos
0 stars 0 forks source link

Building resource bundles includes dependencies for all locales, not just the locale you are building #112

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build a localized library or application with more than one locale and a 
dependency on another 
library that is localized
2. When entering the "Generating resource bundles for {locale}" phase, the 
library path includes 
dependencies for all locales, not just the one you are building
3. So if I build for en_US and es_ES, when I get the "Generating resource 
bundles for es_ES" 
phase, my library path includes framework-3.1.0.2710-en_US.rb.swc and framework-
3.1.0.2710-es_ES.rb.swc, as well as mylibrary-1.0-en_US.rb.swc and 
mylibrary-1.0-
es_ES.rb.swc. While technically harmless, as the extra resource bundles should 
just get ignored, 
it does force the compiler to load them all, so building with 10 locales really 
slows down.

What is the expected output? What do you see instead?
When building a resource bundle for a given locales, only resource bundles 
dependencies for the 
locale being compiled should be included

Original issue reported on code.google.com by RedB...@gmail.com on 24 Sep 2008 at 2:12

GoogleCodeExporter commented 9 years ago

Original comment by RedB...@gmail.com on 30 Sep 2008 at 6:33

GoogleCodeExporter commented 9 years ago
fix committed in r780

Original comment by RedB...@gmail.com on 30 Sep 2008 at 8:55