Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#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:


When the following build profile is used: ---------------------------------------------- var dependencies = [

"dojo.widget.*","", "", "dojo.event.*", "dojo.lfx.*","dojo.widget.ComboBox?", "dojo.widget.SortableTable?","","dojo.widget.ContentPane?", "dojo.widget.Menu2","dojo.html.*",""

]; 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 16 years ago by dylan

Component: GeneralBuildTools
Milestone: 0.4
Owner: changed from anonymous to alex
Version: 0.40.3

comment:2 Changed 16 years ago by guest

Cc: [email protected] added

comment:3 Changed 16 years ago by Adam Peller

Resolution: worksforme
Status: newclosed

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.

comment:4 Changed 15 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.