Opened 13 years ago

Closed 13 years ago

Last modified 12 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: scott.oreilly@…
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 13 years ago by dylan

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

comment:2 Changed 13 years ago by guest

Cc: scott.oreilly@… added

comment:3 Changed 13 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 12 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.