[Dojo-checkins] [dojo] #9393: Custom build fails in jslib/i18nUtil.flattenLayerFileBundles()

dojo trac at dojotoolkit.org
Fri Jun 12 20:27:36 EDT 2009


#9393: Custom build fails in jslib/i18nUtil.flattenLayerFileBundles()
---------------------------------+------------------------------------------
 Reporter:  William Chapman      |        Owner:  jburke
     Type:  defect               |       Status:  new   
 Priority:  normal               |    Milestone:  tbd   
Component:  BuildTools           |      Version:  1.3.0 
 Severity:  normal               |   Resolution:        
 Keywords:  i18n, custom build,  |  
---------------------------------+------------------------------------------

Comment(by William Chapman):

 For what it's worth, rbackhouse's suggestion to add this line of code
 [[BR]]

 {{{
     delete com; // added: wjc 11 June 2009
 }}}

 to the beginning of dojo-1.3.0-src.util.buildscripts.build.release()
 allowed my profile to build to completion (after fixing an unrelated
 problem in one of the bundles - still in the attached gzip - plus other
 profile issues).

 Now I'm struggling with actually getting the bundle items via
 dojo.i18n.getLocalization().  It seems that my fully functional
 development code is not working in build trim.  All the
 dojo.requireLocalization() calls have been deleted by the build process
 (as expected), and the dojo.i18n._preloadLocalization() call is executing
 successfully upon loading the application (the get() is successful and the
 object shows up in the dojo.nls namespace).  However,
 dojo.i18n.requireLocalization() calls don't work, throwing Error: bundle
 not found exception in Firebug.  ???

 I'm going to post this to the Dojo Core Support forum, hoping for some
 insight.  '''Thanks for your effort on this issue.'''  I will continue to
 track, and be available to help if I'm able.

-- 
Ticket URL: <http://bugs.dojotoolkit.org/ticket/9393#comment:5>
dojo <http://dojotoolkit.org/>
The Dojo UI Toolkit


More information about the Dojo-checkins mailing list