[Dojo-checkins] [dojo] #7685: Suggestions for improving build system usability

dojo trac at dojotoolkit.org
Fri Sep 19 16:59:32 UTC 2008


#7685: Suggestions for improving build system usability
-------------------------+--------------------------------------------------
 Reporter:  jburke       |       Owner:  jburke 
     Type:  defect       |      Status:  new    
 Priority:  normal       |   Milestone:  2.0    
Component:  BuildSystem  |     Version:  1.2beta
 Severity:  normal       |    Keywords:         
-------------------------+--------------------------------------------------
 A ticket to hold suggestions to consider for Dojo 2.0 for the build
 system, to make it easier to understand and to avoid errors. These changes
 will likely need to be considered as part of Dojo 2.0, since the changes
 may not be 1.x compatible.

 Started from this forum thread:
 http://dojotoolkit.org/forum/dojo-core-dojo-0-9/dojo-core-support/custom-
 build-and-en-us-js-404-errors

 To start:

 1) Try to normalize paths so profiles do not have a mix of ../.. and ../
 paths. Maybe solve this by having the layer name be a resourceName and not
 a file path. We need resourceNames anyway, because otherwise the i18n
 bundle loading for the layer will not work. So switching to a "dot" name
 ("foo.bar") instead of specifying "../foo/bar.js" would be good. For
 "dojo.js" the name would be just "dojo".

 Then it could automatically put in a dojo.provide call for the layer if
 there was not already one that matches, and we avoid the need for either
 "name" or "resourceName" extra layer property. Need to decide which one is
 clearer to use.

 Other things can be added to this ticket as we think of them.

-- 
Ticket URL: <http://bugs.dojotoolkit.org/ticket/7685>
dojo <http://dojotoolkit.org/>
The Dojo UI Toolkit


More information about the Dojo-checkins mailing list