#1292 closed defect (worksforme)
Build system creates dojo.js using wrong build order
Reported by: | guest | Owned by: | alex |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | BuildTools | Version: | 0.3 |
Keywords: | Cc: | [email protected]… | |
Blocked By: | Blocking: |
Description
When the following build profile is used: ---------------------------------------------- var dependencies = [
"dojo.widget.*","dojo.io", "dojo.io.BrowserIO", "dojo.event.*", "dojo.lfx.*","dojo.widget.ComboBox?", "dojo.widget.SortableTable?","dojo.date","dojo.widget.ContentPane?", "dojo.widget.Menu2","dojo.html.*","dojo.io.cookie"
]; load("getDependencyList.js"); ----------------------------------------------
the build system creates an invalid dojo.js file, trying to create the ComboBox? first, before declaring the "dojo" variable;
e.g. the file begins with
dojo.provide("dojo.widget.ComboBox?"); dojo.widget.incrementalComboBoxDataProvider=function(_1,_2,_3){ ......
rather than
if(typeof dojo=="undefined"){ var dj_global=this;
meaning that an error is thrown as soon as the file is loaded, and dojo is unusable
Change History (4)
comment:1 Changed 15 years ago by
Component: | General → BuildTools |
---|---|
Milestone: | → 0.4 |
Owner: | changed from anonymous to alex |
Version: | 0.4 → 0.3 |
comment:2 Changed 15 years ago by
Cc: | [email protected]… added |
---|
comment:3 Changed 15 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
This no longer seems to happen in the current build -- there have been a fair number of changes to the ant file which may have solved the problem? Please re-open if you can reproduce the bug.