Login Register

after custom build ,a warning appears in my project : Bundle not found : loading in dijit ,locale=en

I am trying to update my dojo version from 1.0.0.1 to 1.0.0.2. And in concern of performance,I prefer to compress the js files under dojo folder. This 1.0.0.2 version can work fine in my project.However after i customed a new dojo build (i did nothing but compressing the dojo files using Shrinksafe), it couldn't work ,warning :Bundle not found : loading in dijit ,locale=en ;
My os is zh-cn /WinXp ,and my browser IE6.0,language is en ;
I traced for a long time and find that: after compressing ,the code
dojo.requireLocalization("dijit","loading");
in dijit/layout/ContentPane.js has been changed to dojo.requireLocalization("dijit","loading",null,"cs,de,es,fr,hu,it,ja,ko,ROOT,pl,pt,ru,zh,zh-tw");
If i change that back ,the project will work well again.
If there an option i can use to custom build dojo without making this change?

something else is wrong

changing this line might be defeating the build optimization. I wonder if you looked with the IE developer tool if three requests are being made for loader.js after this change? (they should be downloaded with a single hit after a build, I think)

I'm looking at

http://download.dojotoolkit.org/release-1.1b1/dojo-release-1.1b1/dijit/t...

which uses ContentPane, and I don't see this error. Do you? I do see the "loading" bundle included in the content for dijit-all_en-us.js, and when loaded without the layer file, it comes down directly in loading.js, both without errors.

Can you provide a list of steps to reproduce this bug? What was the build command you issued? What page did you load to get this error? Did it involve any of your own code, or did you reproduce this with one of the Dijit tests?